LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices

Reply
 
Search this Thread
Old 06-17-2014, 04:26 PM   #1
frushiyama
Member
 
Registered: Oct 2010
Location: Brazil
Distribution: Slackware64 14.1, Slackware ARM
Posts: 47

Rep: Reputation: 0
Raspberry Pi ldconfig conflict


I did a fresh install of SlackwareARM current on RaspberryPi model B and when i upgrade to current using slackpkg i can see these alarms on every package when it is installing:
Code:
Verifying package grep-2.18-arm-1.txz.
Installing package grep-2.18-arm-1.txz:
PACKAGE DESCRIPTION:
# grep (print lines matching a pattern)
#
# This is GNU grep, the "fastest grep in the west" (we hope).  Grep
# searches through textual input for lines which contain a match to a
# specified pattern and then prints the matching lines.
#
/sbin/ldconfig: libraries libnsl-2.17.so and libnsl-2.19.so in directory /lib have same soname but different type.
/sbin/ldconfig: libraries libnss_db-2.17.so and libnss_db-2.19.so in directory /lib have same soname but different type.
/sbin/ldconfig: libraries libcrypt-2.17.so and libcrypt-2.19.so in directory /lib have same soname but different type.
/sbin/ldconfig: libraries libnss_nis-2.17.so and libnss_nis-2.19.so in directory /lib have same soname but different type.
/sbin/ldconfig: libraries libnss_compat-2.17.so and libnss_compat-2.19.so in directory /lib have same soname but different type.
/sbin/ldconfig: libraries libcidn-2.17.so and libcidn-2.19.so in directory /lib have same soname but different type.
/sbin/ldconfig: libraries libBrokenLocale-2.17.so and libBrokenLocale-2.19.so in directory /lib have same soname but different type.
This means that i have two libraries to every line above?

Last edited by frushiyama; 06-20-2014 at 02:03 PM.
 
Old 06-17-2014, 09:51 PM   #2
Syndacate
LQ Newbie
 
Registered: Aug 2008
Location: Santa Clara, CA
Distribution: Ubuntu, mainly. Too much stuff works out of the box O.o
Posts: 25

Rep: Reputation: 35
Yes, it means what you said.

Remove the 2.17's in /lib and see what happens.

You should be able to see the whole story w/ something like:
Code:
ls -l /lib/*libnsl*
 
Old 06-17-2014, 10:04 PM   #3
frushiyama
Member
 
Registered: Oct 2010
Location: Brazil
Distribution: Slackware64 14.1, Slackware ARM
Posts: 47

Original Poster
Rep: Reputation: 0
Result of ls -l /lib/*libnsl* :

Code:
root@rpi:~# ls -l /lib/*libnsl*
-rwxr-xr-x 1 root root 99418 Out 28  2013 /lib/libnsl-2.17.so*
-rwxr-xr-x 1 root root 99418 Mai 18 15:51 /lib/libnsl-2.19.so*
lrwxrwxrwx 1 root root    14 Jun 17 18:11 /lib/libnsl.so.1 -> libnsl-2.19.so*
It seems a problem when i installed or upgraded the 2.17 version of that libraries.
Its safe if i rm /lib/libnsl-2.17.so or i should try figure out what else it is point to version 2.17 ?
 
Old 06-17-2014, 10:10 PM   #4
Syndacate
LQ Newbie
 
Registered: Aug 2008
Location: Santa Clara, CA
Distribution: Ubuntu, mainly. Too much stuff works out of the box O.o
Posts: 25

Rep: Reputation: 35
I would remove them if it was my own system, though I don't want to recommend it to you because I don't know if it may have any consequences .

Maybe you can move them into a directory somewhere not in /lib and if something breaks copy them back. I think it'll be fine to remove, though.
 
1 members found this post helpful.
Old 06-18-2014, 02:41 AM   #5
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 147

Rep: Reputation: 114Reputation: 114
Quote:
Originally Posted by frushiyama View Post
/sbin/ldconfig: libraries libcidn-2.17.so and libcidn-2.19.so in directory /lib have same soname but different type.
/sbin/ldconfig: libraries libBrokenLocale-2.17.so and libBrokenLocale-2.19.so in directory /lib have same soname but different type.[/code]
This means that i have two libraries to every line above?
You most likely have the old 2.17 libraries because you did not yet upgrade the glibc-solibs package.

The warning about 'different type' is due to a bug in glibc 2.17 (or maybe 2.18, I forget which) which has been patched in 2.19.

You should upgrade the glibc-solibs package which should remove those duplicate library names.

Your paste also shows you're installing glibc-2.18 but have 2.19 already installed.
 
1 members found this post helpful.
Old 06-18-2014, 09:07 PM   #6
frushiyama
Member
 
Registered: Oct 2010
Location: Brazil
Distribution: Slackware64 14.1, Slackware ARM
Posts: 47

Original Poster
Rep: Reputation: 0
I had the recent updates, checked with:
Code:
root@rpi:/lib# ls -a /var/log/packages/ | grep glibc
glibc-2.19-arm-1
glibc-i18n-2.19-arm-1
glibc-profile-2.19-arm-1
glibc-solibs-2.19-arm-1
glibc-zoneinfo-2014b-noarch-1
And try to reinstall all glibc packages, but even with this the results was the same.
So i did a backup of the 2.17 version of libraries and then it seems solved.
I will let it running and will install some stuff to see if more problem will occur.

Last edited by frushiyama; 06-18-2014 at 09:09 PM.
 
  


Reply

Tags
arm7, ldconfig, slackware -current


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SlackwareARM on RaspberryPI and soft/hard float andrixnet Slackware - ARM 3 06-23-2014 04:06 PM
RaspberryPi: Cannot get raspbian distros to work right smeezekitty Linux - Embedded & Single-board computer 6 01-07-2014 03:34 PM
automatize fbi as slideshow with crontable on RaspberryPi iv3oaw Linux - Newbie 4 01-01-2014 10:37 AM
Booting the raspberrypi from the USB pendrive rather than the SD Xeratul Linux - General 1 09-23-2012 05:04 AM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration