LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-14-2005, 07:59 AM   #1
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Rep: Reputation: 18
ldconfig - symbolic links??? [Solved]


Hello all,

This is my first post here. I'm running Slackware 10.2 and am a newbie. I posted this same question on other forums but got no answers. I was trying to compile xmule and got error messages in ldconfig. Then, as root, I ran ldconfig the the following returned:

Code:
root@MCLAREN:~# ldconfig
ldconfig: /usr/local/lib/libwx_gtk2_xrc-2.6.so.0 is not a symbolic link

ldconfig: /usr/local/lib/libwx_base_xml-2.6.so.0 is not a symbolic link

ldconfig: /usr/local/lib/libwx_gtk2_qa-2.6.so.0 is not a symbolic link

ldconfig: /usr/local/lib/libwx_gtk2_html-2.6.so.0 is not a symbolic link

ldconfig: /usr/local/lib/libwx_gtk2_media-2.6.so.0 is not a symbolic link

ldconfig: /usr/local/lib/libwx_gtk2_adv-2.6.so.0 is not a symbolic link

ldconfig: /usr/local/lib/libwx_gtk2_core-2.6.so.0 is not a symbolic link

ldconfig: /usr/local/lib/libwx_base_net-2.6.so.0 is not a symbolic link

ldconfig: /usr/local/lib/libwx_base-2.6.so.0 is not a symbolic link

ldconfig: /usr/local/lib/libgiftproto.so.0 is not a symbolic link

ldconfig: /usr/local/lib/libgift.so.0 is not a symbolic link

root@MCLAREN:~#
Any ideas as how to solve this?

Thanks in advance!

Last edited by gtludwig; 10-15-2005 at 11:04 PM.
 
Old 10-15-2005, 12:38 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Do these really exist as files or as links?
 
Old 10-15-2005, 01:22 PM   #3
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Original Poster
Rep: Reputation: 18
newbie reply...

how do I check that?
 
Old 10-15-2005, 01:32 PM   #4
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
Quote:
how do I check that?
Code:
ls -l /usr/local/lib
The first field are the file permissions (e.g. -rwxr-xr-x). The first character is the file type. - for regular files, l for symbolic links, d for directory etc. A symbolic link will also have a target (->)., e.g.

ls -l /lib/ld-linux.so.2
lrwxrwxrwx 1 root root 11 2005-04-16 23:50 /lib/ld-linux.so.2 -> ld-2.3.4.so
 
Old 10-15-2005, 01:59 PM   #5
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Original Poster
Rep: Reputation: 18
Damn! This thing (my computer) is SO slow and shouldn't be, after all it's an Athlon XP 2000+ with 512 Mb PC2100 and lot's of HDD (OK, I'm running Vegastrike now, but even when I'm not it feels slow!)

I'm posting the output from an xterm:


root@MCLAREN:~# ls -l /usr/local/lib
total 26600
drwxr-xr-x 2 root root 4096 2005-10-10 10:24 giFT/
-rwxr-xr-x 1 root root 801 2005-10-10 10:22 libgift.la*
-rwxr-xr-x 1 root root 450599 2005-10-10 10:22 libgift.so*
-rwxr-xr-x 1 root root 450599 2005-10-10 10:22 libgift.so.0*
-rwxr-xr-x 1 root root 450599 2005-10-10 10:22 libgift.so.0.0.0*
-rwxr-xr-x 1 root root 857 2005-10-10 10:22 libgiftproto.la*
-rwxr-xr-x 1 root root 86343 2005-10-10 10:22 libgiftproto.so*
-rwxr-xr-x 1 root root 86343 2005-10-10 10:22 libgiftproto.so.0*
-rwxr-xr-x 1 root root 86343 2005-10-10 10:22 libgiftproto.so.0.0.0*
-rwxr-xr-x 1 root root 1760655 2005-10-14 11:48 libwx_base-2.6.so*
-rwxr-xr-x 1 root root 1760655 2005-10-14 11:48 libwx_base-2.6.so.0*
-rwxr-xr-x 1 root root 1760655 2005-10-14 11:48 libwx_base-2.6.so.0.2.0*
-rwxr-xr-x 1 root root 223451 2005-10-14 11:48 libwx_base_net-2.6.so*
-rwxr-xr-x 1 root root 223451 2005-10-14 11:48 libwx_base_net-2.6.so.0*
-rwxr-xr-x 1 root root 223451 2005-10-14 11:48 libwx_base_net-2.6.so.0.2.0*
-rwxr-xr-x 1 root root 50176 2005-10-14 11:48 libwx_base_xml-2.6.so*
-rwxr-xr-x 1 root root 50176 2005-10-14 11:48 libwx_base_xml-2.6.so.0*
-rwxr-xr-x 1 root root 50176 2005-10-14 11:48 libwx_base_xml-2.6.so.0.2.0*
-rwxr-xr-x 1 root root 810522 2005-10-14 11:48 libwx_gtk2_adv-2.6.so*
-rwxr-xr-x 1 root root 810522 2005-10-14 11:48 libwx_gtk2_adv-2.6.so.0*
-rwxr-xr-x 1 root root 810522 2005-10-14 11:48 libwx_gtk2_adv-2.6.so.0.2.0*
-rwxr-xr-x 1 root root 4197900 2005-10-14 11:48 libwx_gtk2_core-2.6.so*
-rwxr-xr-x 1 root root 4197900 2005-10-14 11:48 libwx_gtk2_core-2.6.so.0*
-rwxr-xr-x 1 root root 4197900 2005-10-14 11:48 libwx_gtk2_core-2.6.so.0.2.0*
-rwxr-xr-x 1 root root 701084 2005-10-14 11:48 libwx_gtk2_html-2.6.so*
-rwxr-xr-x 1 root root 701084 2005-10-14 11:48 libwx_gtk2_html-2.6.so.0*
-rwxr-xr-x 1 root root 701084 2005-10-14 11:48 libwx_gtk2_html-2.6.so.0.2.0*
-rwxr-xr-x 1 root root 6402 2005-10-14 11:48 libwx_gtk2_media-2.6.so*
-rwxr-xr-x 1 root root 6402 2005-10-14 11:48 libwx_gtk2_media-2.6.so.0*
-rwxr-xr-x 1 root root 6402 2005-10-14 11:48 libwx_gtk2_media-2.6.so.0.2.0*
-rwxr-xr-x 1 root root 146428 2005-10-14 11:48 libwx_gtk2_qa-2.6.so*
-rwxr-xr-x 1 root root 146428 2005-10-14 11:48 libwx_gtk2_qa-2.6.so.0*
-rwxr-xr-x 1 root root 146428 2005-10-14 11:48 libwx_gtk2_qa-2.6.so.0.2.0*
-rwxr-xr-x 1 root root 576269 2005-10-14 11:48 libwx_gtk2_xrc-2.6.so*
-rwxr-xr-x 1 root root 576269 2005-10-14 11:48 libwx_gtk2_xrc-2.6.so.0*
-rwxr-xr-x 1 root root 576269 2005-10-14 11:48 libwx_gtk2_xrc-2.6.so.0.2.0*
drwxr-xr-x 2 root root 4096 2005-10-10 10:22 pkgconfig/
drwxr-xr-x 4 root root 4096 2005-10-10 12:30 wx/
root@MCLAREN:~#

It seems that none are symbolic links, right?
 
Old 10-15-2005, 02:43 PM   #6
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
Yes, it looks like some stupid installer has copied the files instead of linking them.

All the files that end with .so and .so.X should be symlinks, while .so.X.X.X are the actual libraries.

This should sort them out:

Code:
cd /usr/local/lib
rm -f *.so *.so.?
ldconfig
ldconfig will (re)create the links properly (you might want to backup /usr/local/lib first, in case of typos etc).

As for your box being slow, make sure you have dma enabled (as root: hdparm /dev/hda).
 
Old 10-15-2005, 02:53 PM   #7
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Run the command ' ldconfig -n /lib '. This rebuilds it.

Brian1
 
Old 10-15-2005, 10:58 PM   #8
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Original Poster
Rep: Reputation: 18
One of the two post solved the problem!
Thanks!
 
  


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: /usr/lib/libgtkhtml-3.0.so.2 is not a symbolic link rosariowong Slackware 13 04-29-2005 03:41 PM
ldconfig-symbolic link comprookie2000 Slackware 5 07-04-2004 02:42 PM
Symbolic Links petercool Linux - General 2 08-20-2003 11:15 AM
Symbolic links bkmesenbrink Linux - Newbie 2 11-13-2002 11:54 AM
symbolic links winger Linux - General 5 04-06-2002 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:51 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