LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error while loading a user lib (https://www.linuxquestions.org/questions/linux-software-2/error-while-loading-a-user-lib-272067/)

SCOSWriter 12-30-2004 05:41 PM

Error while loading a user lib
 
Anyone know why I would get and error in kdevelop.

./bin/adapter: error while loading shared libraries: libXXXXX.so: cannot open shared object file: No such file or directory
Press enter to continue!

This is a user lib and I have set all my paths (PATH, LD_LIBRARY_PATH etc.)

Is there something else I must set so my executable can see available libs?

The library is needed during linking so it found it then...

Currently I have the the run options set to run in build directory. I have several lib directories since this is an itegration project, so I simply cannot just stick the libs into the bin directory.

slackie1000 01-01-2005 08:36 AM

hi there,

this issue can be distro dependent. i can give you some lines how it would work with slackware.
first, you need to be sure that your library directory is under
Code:

/etc/ld.so.conf
then you run, as root,
Code:

ldconfig
you need to do that every time that you update something concerning libraries.

regards

slackie1000

SCOSWriter 01-03-2005 01:28 PM

Yes another post mentioned something like that:

su -c /sbin/ldconfig

Is this the same thing? It did not seem to affect my issue, but thanks anyway.


All times are GMT -5. The time now is 02:19 PM.