You are not logged in.

#1 2008-08-24 02:20:47

kalpik
Member
From: India
Registered: 2007-05-08
Posts: 163
Website

ldconfig and libcurl

Hi!

Recently, i've started to get this error while installing packages:

/sbin/ldconfig: libraries libcurl.so.3 and libcurl.so.4.1.0 in directory /usr/lib have same soname but different type.

Im stumped.. Anyone has any clue? I've tried reinstalling curl, but that doesnt help sad

Last edited by kalpik (2008-08-24 08:59:10)

Offline

#2 2008-08-24 02:32:08

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: ldconfig and libcurl

Do a "pacman -Qo /usr/lib/libcurl.so.3".   My guess is that nothing owns it and it should be deleted.

Offline

#3 2008-08-24 02:34:54

kalpik
Member
From: India
Registered: 2007-05-08
Posts: 163
Website

Re: ldconfig and libcurl

That solved it! It wasnt owned by any package. I just deleted it, and problem solved! Thanks a lot once again smile

Offline

#4 2008-08-24 09:00:09

kalpik
Member
From: India
Registered: 2007-05-08
Posts: 163
Website

Re: ldconfig and libcurl

Ok.. No, that doesnt solve it.. After removing libcurl.so.3, flash 10 rc stopped working! I had to reinstall nspluginwrapper and nspluginwrapper-flas-mozilla to get it to work again.

Offline

#5 2008-08-25 04:48:34

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: ldconfig and libcurl

I've also noticed this. Checking out the PKGBUILD for nspluginwrapper-flashplugin-mozilla, it appears a symlink is created:

lrwxrwxrwx  1 root root       31 2008-08-24 20:55 libcurl.so.3 -> /opt/lib32/usr/lib/libcurl.so.4

Not sure why or how to fix it, but it must be there for a reason!

Scott

Offline

#6 2008-08-25 04:53:52

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: ldconfig and libcurl

There is no way that should be happening.  Symlinking libraries is one of the worst thing you can do to your system.  Someone needs to provide a libcurl3 package in the AUR and nspluginwrapper-flashplugin-mozilla needs to depend on it.

Edit: Wow, it is even worse than that...  It links the i686 /opt/lib32/usr/lib/libcurl.so.4 to /usr/lib/libcurl.so.3.   That at least explains the orignal error message to me.  That is incredibly bad...

Offline

#7 2008-08-26 02:56:42

kalpik
Member
From: India
Registered: 2007-05-08
Posts: 163
Website

Re: ldconfig and libcurl

Any updates?

Offline

#8 2008-11-05 01:16:37

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: ldconfig and libcurl

Bump? Same problem. Happens because of the lib32-flashplugin in the archlinuxfr repo.

Last edited by Ranguvar (2008-11-05 01:27:49)

Offline

#9 2008-11-05 01:44:36

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: ldconfig and libcurl

Ranguvar wrote:

Bump? Same problem. Happens because of the lib32-flashplugin in the archlinuxfr repo.

It was symlinked when Flash 10 was in beta. Flash wouldn't run otherwise. In fact, when installing the package pacman even echoed out a line about it. It's working without the symlink now. The package in AUR doesn't do this:

http://aur.archlinux.org/packages.php?ID=19040

Offline

Board footer

Powered by FluxBB