ldconfig: libraries libltdl.so.7 and libltdl.so.7.3.0 in ...

The SARPi project forum. For anything and everything relating to Slackware ARM on a Raspberry Pi 1, 2, and 3. This forum is NOT a replacement or substitute for the Slackware (ARM) forums on Linux Questions website! Please try to seek help there first about any issues you may be experiencing, or question you might have, before posting on here.
User avatar
linicks
Registered user
Registered user
Posts: 126
Joined: Mon Oct 27 2014 - 20:26:01
Location: Pompey, England

ldconfig: libraries libltdl.so.7 and libltdl.so.7.3.0 in ...

Postby linicks » Sat Mar 07 2015 - 14:17:44

OK, I looked at this warning:

Code: Select all

ldconfig: libraries libltdl.so.7 and libltdl.so.7.3.0 in directory /usr/lib have same soname but different type.


Doing a ls:

Code: Select all

44 -rw-r--r-- 1 root root 44174 Jan 25 11:45 /usr/lib/libltdl.a
 4 -rwxr-xr-x 1 root root   916 Jan 25 11:45 /usr/lib/libltdl.la*
 0 lrwxrwxrwx 1 root root    16 Mar  6 17:12 /usr/lib/libltdl.so -> libltdl.so.7.3.1*
 0 lrwxrwxrwx 1 root root    16 Mar  6 17:12 /usr/lib/libltdl.so.7 -> libltdl.so.7.3.1*
32 -rwxr-xr-x 1 root root 29652 Aug 15  2012 /usr/lib/libltdl.so.7.3.0*
32 -rwxr-xr-x 1 root root 28912 Jan 25 11:45 /usr/lib/libltdl.so.7.3.1*


Shows that libltdl.so.7.3.0 is pretty old, dated Aug 15 2012 - so it appears something installed this rogue file which has been updated by a later version. It would be nice to see what installed it and why.

I just mv'ed it to:

Code: Select all

sudo mv /usr/lib/libltdl.so.7.3.0 /usr/lib/libltdl.so.7.3.0OLD


and now thw warning is gone when running ldconfig.

Nick
P.S. back-up mail server now running on my new Pi 2 :)
https://linicks.net/

Q. What is the difference between a duck and an elephant?
A. You can't get down off an elephant.

User avatar
linicks
Registered user
Registered user
Posts: 126
Joined: Mon Oct 27 2014 - 20:26:01
Location: Pompey, England

Re: ldconfig: libraries libltdl.so.7 and libltdl.so.7.3.0 in

Postby linicks » Sat Mar 07 2015 - 15:51:08

OK, doing a grep in /var/log/packages, I got the culprit:

./aaa_elflibs-14.1-arm-3:usr/lib/libltdl.so.7.3.0

So there is a mis-match here with that package and libtool. What is aaa_elflibs doing installing that library anyway - or does this package supply a get-out-route and just has the wrong version?

UPDATE: http://www.linuxquestions.org/questions ... es-471332/

Nick
https://linicks.net/

Q. What is the difference between a duck and an elephant?
A. You can't get down off an elephant.

User avatar
Exaga
FatDog Network Administrator
FatDog Network Administrator
Posts: 205
Joined: Wed Apr 18 2012 - 02:01:03
Location: England [UK]

Re: ldconfig: libraries libltdl.so.7 and libltdl.so.7.3.0 in

Postby Exaga » Sun Mar 08 2015 - 09:49:34

cat /tmp/installpkg-report.log | grep "soname"

Install report for /usb-stick/slackware/n/bind-9.10.1_P1-arm-1.txz: /sbin/ldconfig: libraries libltdl.so.7.3.0 and libltdl.so.7.3.1 in directory /usr/lib have same soname but different type.

Install report for /usb-stick/slackware/l/glibc-2.20-arm-3.txz: sbin/ldconfig: libraries libltdl.so.7.3.0 and libltdl.so.7.3.1 in directory /usr/lib have same soname but different type.
Exaga

====
__ KEEP THE DOG ALIVE!!!
()'`; /
/\|` W00f W00f W00f
www.fatdog.eu

User avatar
linicks
Registered user
Registered user
Posts: 126
Joined: Mon Oct 27 2014 - 20:26:01
Location: Pompey, England

Re: ldconfig: libraries libltdl.so.7 and libltdl.so.7.3.0 in

Postby linicks » Sun Mar 08 2015 - 11:58:48

Exaga wrote:cat /tmp/installpkg-report.log | grep "soname"

Install report for /usb-stick/slackware/n/bind-9.10.1_P1-arm-1.txz: /sbin/ldconfig: libraries libltdl.so.7.3.0 and libltdl.so.7.3.1 in directory /usr/lib have same soname but different type.

Install report for /usb-stick/slackware/l/glibc-2.20-arm-3.txz: sbin/ldconfig: libraries libltdl.so.7.3.0 and libltdl.so.7.3.1 in directory /usr/lib have same soname but different type.


All that means is the installation of bind and glibc-2.20 issued the 'ldconfig' command, it doesn't indicate they supplied the libs.

aaa_elflibs is the man.

Nick
https://linicks.net/

Q. What is the difference between a duck and an elephant?
A. You can't get down off an elephant.

User avatar
Exaga
FatDog Network Administrator
FatDog Network Administrator
Posts: 205
Joined: Wed Apr 18 2012 - 02:01:03
Location: England [UK]

Re: ldconfig: libraries libltdl.so.7 and libltdl.so.7.3.0 in

Postby Exaga » Sun Mar 08 2015 - 19:23:57

linicks wrote:
All that means is the installation of bind and glibc-2.20 issued the 'ldconfig' command, it doesn't indicate they supplied the libs.

aaa_elflibs is the man.



Only those two packages threw up the error from the install log. Thought it was worth noting. :)
Exaga

====
__ KEEP THE DOG ALIVE!!!
()'`; /
/\|` W00f W00f W00f
www.fatdog.eu

User avatar
linicks
Registered user
Registered user
Posts: 126
Joined: Mon Oct 27 2014 - 20:26:01
Location: Pompey, England

Re: ldconfig: libraries libltdl.so.7 and libltdl.so.7.3.0 in

Postby linicks » Sun Mar 08 2015 - 20:29:49

Oh right. I got the same warning every time I ran 'ldconfig' until I moved the old lib.

Oh well - nothing is wrong here, just warnings.

Nick
https://linicks.net/

Q. What is the difference between a duck and an elephant?
A. You can't get down off an elephant.

Return to “SARPi Project - Slackware ARM on a Raspberry Pi”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests