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: -----

#11 User is offline   MrSentry Icon

  • Account: mrsentry
  • Main tag: 6th|
  • Country:
  • Joined: 28-February 10
  • Posts: 940

Posted 26 March 2008 - 05:13 PM

apt-get install curl

#12 User is offline   Nexu Icon

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

Posted 26 March 2008 - 06:52 PM

The point was not not having curl, but having the wrong curl version/cvar set to using the wrong curl version.

#13 User is offline   VisionThing (old) Icon

  • Joined: 09-February 04
  • Posts: 120

Posted 03 May 2008 - 04:18 PM

Did this ( apt-get install curl)

No luck same error  :?

#14 User is offline   Delaney21 (old) Icon

  • Joined: 15-June 08
  • Posts: 3

Posted 15 June 2008 - 02:22 PM

Just had the same problem and this fixed it

su
ln -s /usr/lib/libcurl.so.4 /usr/lib/libcurl.so.3

Give that a shot.

#15 User is offline   Woekele Icon

  •   former FS member   
    Public Relations
  • Account: woekele
  • Country:
  • Joined: 26-January 10
  • Posts: 11,575

Posted 15 June 2008 - 10:51 PM

Yes, this error either means you don't have curl installed on your linux distro, or that the cl_curllib setting in-game is not set to the right name of the lib.

bullet_loaderAdvertisement

#16 User is offline   Mattie Icon

  • Account: mattie
  • Joined: 01-March 10
  • Posts: 31

Posted 25 June 2008 - 06:25 PM

yes, the cvar works (I had the same problem and consulted the forum to find a fix). but wouldn't it be much more future proof and player friendly to change DEFAULT_CURL_LIB to libcurl.so on linux instead of a specific version..? or at least mention it in the (linux-)readme?

just a suggestion.

#17 User is offline   Woekele Icon

  •   former FS member   
    Public Relations
  • Account: woekele
  • Country:
  • Joined: 26-January 10
  • Posts: 11,575

Posted 25 June 2008 - 06:34 PM

I dunno, this is a design choice from ioq3, so I assume there was some logic behind it. They might have changed it in newer revisions.

#18 User is offline   Mattie Icon

  • Account: mattie
  • Joined: 01-March 10
  • Posts: 31

Posted 25 June 2008 - 06:52 PM

right, I'm complaining on the wrong forum again :)

but anyway, I think any UrT linux player will eventually encounter this problem (as version 3 of libcurl is outdated) and a lot of people want to try a new maps. So maybe mention this in the FAQ or make this topic sticky?

#19 User is offline   Woekele Icon

  •   former FS member   
    Public Relations
  • Account: woekele
  • Country:
  • Joined: 26-January 10
  • Posts: 11,575

Posted 25 June 2008 - 11:04 PM

Quote

So maybe mention this in the FAQ


Good idea.

Edit: done :-D

#20 User is offline   quandary (old) Icon

  • Joined: 03-July 08
  • Posts: 6

Posted 03 July 2008 - 07:53 PM

Which curl for your Linux:

l:~# apt-cache search libcurl | sed '/lua/d;/libwww/d;/python/d;/tcl/d;/ocaml/d;/Pascal/d;/flick/d;/gnutls/d;/GNOME/d;/gimp/d;/wmget/d;/openssl/d;/dbg/d'



Installing curl for your system:

apt-get install `apt-cache search libcurl | sed '/lua/d;/libwww/d;/python/d;/tcl/d;/ocaml/d;/Pascal/d;/flick/d;/gnutls/d;/GNOME/d;/gimp/d;/wmget/d;/openssl/d;/dbg/d'`




Locating it:

su root
updatedb
locate libcurl | grep "/usr/lib" | sed '/gnutls/d'



Output:

Quote

/usr/lib/libcurl.so.3
/usr/lib/libcurl.so.4
/usr/lib/libcurl.so.4.0.1


Set the cvar:
Linux:

/seta cl_cURLLib = "libcurl.so.4.0.1"



Windows:

/seta cl_cURLLib = "libcurl-3.dll"



Mac:

Curl resides in /usr/lib/

/seta cl_cURLLib = "libcurl.dylib"



:-D

  • (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

Sponsored link
https://www.urbanterror.info/members/donate/


Copyright © 1999-2019 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