LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Shared Library not found but exists as symlink (https://www.linuxquestions.org/questions/slackware-14/shared-library-not-found-but-exists-as-symlink-168882/)

davoman 04-11-2004 04:55 PM

Shared Library not found but exists as symlink
 
I'm going to spew. :scratch: I've installed wxpython, and after trying to run wxrc, it says a lib doesnt exist.

Quote:

wxrc: error while loading shared libraries: libwx_baseud_xml-2.5.so.1: cannot open shared object file: No such file or directory
I found out about the ldd utility, and got these results from running ldd wxrc:
Quote:

libwx_baseud_xml-2.5.so.1 => not found
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40027000)
libwx_baseud-2.5.so.1 => not found
Doing a search finds libwx_baseud_xml-2.5.so.1 exists as a symlink to libwx_baseud_xml-2.5.so.1.0.0 .

This is also the case for the other unsatisfied libs mentioned there. As I understand it, Linux should treat those symlinks as if they were the libs themselves. Why doesnt it work for me? :confused:

Thanks for any help in advance. This is all for my get DavoMan onto BitTorrent Appeal. :cry:

ringwraith 04-11-2004 05:07 PM

After installing the lib, did you run ldconfig. This is run during boot normally. Where are the libs located. Is the location listed in /etc/ld.so.conf

davoman 04-11-2004 05:24 PM

Yo.
I installed wxpython from a RPM. Never heard of this ldconfig, I will run it now.
-two minutes later-
I have listed in my /etc/ld.so.conf:
Quote:

/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
/usr/lib/wine
I added /usr/lib/wxPython-2.5.1.5/ and /usr/lib/wxPython/libinto there and now wxrc works.

Cheers man. There is hope for theGet DavoMan onto BitTorrent appeal afterall.


All times are GMT -5. The time now is 07:50 AM.