Jump to content

libcurl.so.2 dependency


Recommended Posts

Hey, there's a buncha stuff I wanna install that require libcurl.so.2, and I can't figure out how to make it work...I found libcurl.so.2 and downloaded it, but where do I put it so that urpmi will detect that it's there?

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

buncha stuff?

you'll need to be more specific because it must be old stuff

the current libcurl is 3 and you want 2

there are ways around that just to get the apps installed but they may not work

or you'd have to compile a lot of stuff and still find they may not work

Link to comment
Share on other sites

most of the time it's safe to just make libcurl.so.2 a link to libcurl.so.* (where * is whatever the current version you have installed is).

yea...I googled it and found that, but it also said that that usually wasn't detected...I tried it anyways, but it still didn't work...so then I replaced the link with the actual libcurl.so.2 file, and it still doesn't work...anywhere other than /usr/lib that I need to put these?

Link to comment
Share on other sites

Libcurl.so is contained in libcurl-devel.

BVC is correct and it is version 3. The rpm for it is contained in the Mandrake main packages so just install it and it takes care of itself.

 

Cheers. John.

Link to comment
Share on other sites

localhost:/# rpm -q curl
curl-7.13.1-2mdk
localhost:/# rpm -q libcurl3
libcurl3-7.13.1-2mdk
localhost:/# urpmf --summary libcurl3-devel
libcurl3-devel:Header files and static libraries for libcurl
localhost:/# rpm -ql libcurl3
/usr/lib/libcurl.so.3
/usr/lib/libcurl.so.3.0.0
/usr/share/doc/libcurl3-7.13.1
/usr/share/doc/libcurl3-7.13.1/BUGS
/usr/share/doc/libcurl3-7.13.1/CHANGES
/usr/share/doc/libcurl3-7.13.1/CONTRIBUTE
/usr/share/doc/libcurl3-7.13.1/FAQ
/usr/share/doc/libcurl3-7.13.1/FEATURES
/usr/share/doc/libcurl3-7.13.1/KNOWN_BUGS
/usr/share/doc/libcurl3-7.13.1/RESOURCES
/usr/share/doc/libcurl3-7.13.1/THANKS
/usr/share/doc/libcurl3-7.13.1/TODO
localhost:/# file /usr/lib/libcurl.so.3.0.0
/usr/lib/libcurl.so.3.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
localhost:/# file /usr/lib/libcurl.so.3
/usr/lib/libcurl.so.3: symbolic link to `libcurl.so.3.0.0'

did you make 2 symlinks?

libcurl.so.2.0.0

libcurl.so.2

both pointing to

/usr/lib/libcurl.so.3.0.0

 

both libcurl2-devel and libcurl3-devel contain libcurl.so

Link to comment
Share on other sites

still having the same problems...

[root@localhost urza9814]# ln -s /usr/lib/libcurl.so.3.0.0 /usr/lib/libcurl.so.2.0.0
[root@localhost urza9814]# ln -s -f /usr/lib/libcurl.so.3 /usr/lib/libcurl.so.2
[root@localhost urza9814]# urpmi planeshift
Some package requested cannot be installed:
planeshift-0.2.011-1mdk.i586 (due to unsatisfied libcurl.so.2)
Continue? (Y/n) y
[root@localhost urza9814]#

two things I need to say about that I suppose:

1) I used -f because I already had a libcurl.so.2 in there (the one I downloaded)

2) planeshift isn't the only thing I'm trying to install that needs that, it's just the easiest to remember...usually I select them from RPMDrake, but urpmi is faster just to see if it'll work.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...