Urban Terror Forums: cURL library could not be loaded - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • This topic is locked

cURL library could not be loaded Rate Topic: -----

#1 User is offline   bloodandsoil (old) Icon

  • Joined: 30-July 07
  • Posts: 5

Posted 24 March 2008 - 12:20 PM

Hi, one of the servers I play on switched to the map UT4_Village.  I tried to autodownload it but I got this error:

Can not autodownload missing file(s), because the cURL library could not be loaded.


Anyone know how I can fix this?  I'm running Debian.  Thanks.

#2 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 24 March 2008 - 12:46 PM

install libcurl.

#3 User is offline   bloodandsoil (old) Icon

  • Joined: 30-July 07
  • Posts: 5

Posted 24 March 2008 - 12:57 PM

I did a search on libcurl and about 1000 packages came up.

What's the package name exactly? 

#4 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 24 March 2008 - 12:58 PM

It depends on the distribution.

#5 User is offline   bloodandsoil (old) Icon

  • Joined: 30-July 07
  • Posts: 5

Posted 24 March 2008 - 01:03 PM

Distribution is Debian.

bullet_loaderAdvertisement

#6 User is offline   Rambetter Icon

  •   community dev   
  • Account: rambetter
  • Joined: 28-February 10
  • Posts: 1,140

Posted 24 March 2008 - 06:46 PM

Listen up.

Install cURL.  However there might be a problem as described below.  The particular binary you need is 'libcurl.so.3'.

If you look at the source code to ioUrbanTerror, there is a part of it that is hardcoded to dynamically load 'libcurl.so.3'.  This was a problem on systems such as FreeBSD because the current version of libcurl is 'libcurl.so.4'.  The patch to the ioUrbanTerror source code for Freebsd was to change the text string "libcurl.so.3" to just "libcurl.so" where it was hardcoded in the code.  I actually helped with this patch.  It's simply a string of text in the code.  You can do a grep for it.

Install cURL if it is not already.  (To check, do a global search for 'libcurl.so'.)  If you have the problem with version 3 & version 4 mismatch as described above, either modify the source code as described above and recompile, or install an older version of cURL that provides 'libcurl.so.3'.  The sourcecode can be downloaded from a location specified in the readme.  On a Linux system the compile is really simple, just check the README or INSTALL file in the server source directory.

You can make it work for sure, it's just a matter of determination.

Aside from all this, I would NEVER place ut4_village on your computer.  It leads to some texture corruption issues on maps such as ut4_abbey.  Just steer clear of the particular map ut4_village.

#7 User is offline   RogerWilco (old) Icon

  • Joined: 13-October 07
  • Posts: 17

Posted 25 March 2008 - 02:24 PM

You might want to add a

seta cl_cURLLib "libcurl.so.4"

to your config file.

#8 User is offline   Nexu Icon

  •   clan leader   
  • Account: nexu
  • Main tag: |it|
  • Country:
  • Joined: 26-June 07
  • Posts: 4,265

Posted 25 March 2008 - 07:54 PM

The cvar has been added for this purpose :D

#9 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 25 March 2008 - 08:33 PM

I remember telling the coder of it that debian had it on another filename than he had and he changed it. Maybe it should just take several entries.

#10 User is offline   Rambetter Icon

  •   community dev   
  • Account: rambetter
  • Joined: 28-February 10
  • Posts: 1,140

Posted 25 March 2008 - 11:49 PM

> seta cl_cURLLib "libcurl.so.4"

Oh, good point.

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942