LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-11-2004, 07:18 AM   #1
Andronik
Member
 
Registered: Sep 2003
Location: Estonia Tartu
Distribution: Debian, edition depends on what i run it, wheezy on main box.
Posts: 91

Rep: Reputation: 15
messing with /sbin/ldconfig errors.


First it will be short description about not very wise linux learning.

I wished reinstall my 2 pc-s with slackware10.
Took cd-s ,fresh install with 2.4 kernel, full install- thumb everything.

Got swaret update and upgrade all.
Configuration was made to slackware=current and lists was to swaret.sourceforge.net.
Did dependencies. *.success...

After all of it-i had huge list of /sbin/ldconfig messages, pointing that at least ~40-50 libraries were too small, not checking em.
For example libmpeg2convert.so and bunch of gtk+ and etc.

first i found, that most were not in enviroment PATH.
Did fix on path, and tried to install manually missing library packets.
Because there was lot of them, and most needed by gnome i did downloaded all gnome2.8. from gnome.org. *.desktop_sources and *.platform sources, also linkers.
And now started gnome compiling nightmare from source. took 2 days on amd 1.8ghz.


From packet to packet-my pc whined less and less about missing lib* libraries.
But now became best part.
Some libraries i compiled for sure ,had still complains.ten of them didn't resolve in any means. (i tried install em from source, from tgz ...nothing)

Result-???.Last i looked those "too small libraries" directly in /usr/lib/ and found ,that they are actually equal to zero.
Deleted them and installed once again.
And thats it.everything started working.


Now question is--why did this happen???
What is exact reason for such unrepairable lib*.so.* issue and how i had to fix it from very beginning?

By the way, did installation of Dropline2.8 same time on second machine- took 2 hours and worked like charm with kernel2.6.8.1, after i reinstalled alsadriver package.(without it didn't start)
 
Old 10-12-2004, 02:07 PM   #2
darksvr
LQ Newbie
 
Registered: Sep 2003
Location: San Diego, CA
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
swaret

very nice tool to get certain things... I love to use swaret right after a slackware install to applications that I use often and want right away... example would be latest gaim, nano, fluxbox, bbconf, fluxconf, and a few others... BUT never, never, never - ever upgrade all from swaret... ESPECIALLY swaret --upgrade * that will trash the system as you just went through. here is why.. there are older libs and apps than what slack cd install comes with, there are also duplicate apps and libs that can be installed together (never a good idea), and there are newer apps and libs. So you see you will end up with duplicates and apps that require newer libs than others and some that even require older libs than other and there is also the fact that it can make a mess... you may be fixed now but I am willing to bet that you have alot of duplicates and wasted drive space on things that you do not need and possbly should not have... just be glad that swaret by default does not inclid other kde languages or the kernel in the upgrades. swaret is greate for one or two programs at a time so you can keep track and run a removepkg on if it gets botched. but never for an entire upgrade.

Hope this helps.
 
Old 10-12-2004, 02:35 PM   #3
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
I agree with darksvr. I made the jump with swaret from 10 to current with lots of errors. Namely because of the move to xorg 6.8 I believe. Be wary of updating packages with 3rd party piece of software. Slackpkg is now included on CD1. Might be worth a look. Just know what is going on under the covers with tools you are using.

To fix alsa re-install all the alsa packages. go to www.insyte.uni.cc and look under What to do first for more info. DLG is fun to use but also know that it takes over and replaces lots of system files. Once I had DLG up and running I just added things via source and put them in /opt and then added them to the panel as buttons.
 
Old 12-20-2004, 03:43 PM   #4
teek
Member
 
Registered: Jun 2004
Location: The Netherlands; Dordrecht
Distribution: Arch (at the moment)
Posts: 110

Rep: Reputation: 16
same here

I wish I had googled before I hit enter!
I have the same problem, a lot of error messages,

/sbin/ldconfig: File /usr/lib/libcupsimage.so.2 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libcups.so.2 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libcupsimage.so is empty, not checked.
/sbin/ldconfig: File /usr/lib/libcups.so is empty, not checked.
/sbin/ldconfig: File /usr/lib/libmm.so.13.0.21 is empty, not checked.

and a lot more...

People should be warned before doing "swaret --upgrade" everything.

Well, thanx for the info anyway!
 
  


Reply



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
/sbin/ldconfig Not ELF Casket Slackware 7 08-02-2005 01:59 AM
/sbin/ldconfig: /usr/lib/libgtkhtml-3.0.so.2 is not a symbolic link rosariowong Slackware 13 04-29-2005 03:41 PM
ldconfig errors Regulus Linux - Software 0 12-24-2004 06:42 AM
/sbin/ldconfig alaios Linux - Newbie 1 10-21-2004 04:46 PM
/sbin/ldconfig and X problems c31c Slackware 1 06-28-2004 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration