LinuxQuestions.org
Review your favorite Linux distribution.
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 12-30-2004, 05:41 PM   #1
SCOSWriter
Member
 
Registered: Dec 2004
Posts: 57

Rep: Reputation: 15
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.
 
Old 01-01-2005, 08:36 AM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
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
 
Old 01-03-2005, 01:28 PM   #3
SCOSWriter
Member
 
Registered: Dec 2004
Posts: 57

Original Poster
Rep: Reputation: 15
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.
 
  


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
aim: error while loading shared libraries: /usr/lib/libgdk-1.2.so.0: undefined symbol dr_zayus69 Linux - Software 1 12-11-2004 09:10 PM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
vncserver error loading shared lib. WeBoat Linux - Software 2 06-22-2004 08:19 AM
Cannot lock user/lib error in mandrake? Bilal Linux - Newbie 1 12-22-2003 11:46 AM
boot up hangs with init:error while loading /lib/libc.so.6 nates71 Linux - General 0 05-09-2001 01:40 PM

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

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