Can't find library.

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Aug 20 17:38:34 UTC 2004


On Fri, Aug 20, 2004 at 10:23:56AM -0400, Jerome Miecznikowski wrote:
> Ok, for the checklist:  installed with 'make install', checked 
> permissions on the lib, ran ldconfig (as root), ran parted as root, ldd 
> still reports:
> libparted-1.6.12 => not found

What is the excact error message?

If I rename the libparted on this system I gues:
libparted-1.6.so.0 => not found

That looks more like a library name that what your line has.

> Hm, two things I should add are that there are no spurious environment 
> variables that I'm setting and that libparted is the only lib in 
> /usr/local/lib (/etc/ld.so.conf does contain /usr/local/lib)  A quick 
> peek with objdump also shows that no path is specified for the lib in 
> parted.
> 
> It seemed the problem is likely that the dynamic linker just isn't 
> looking at /usr/local/lib  ... so I ran strace on konsole to watch 
> something that works with a non-standard lib location (/opt tree) ... 
> and found that on my system, for konsole the linker is using the 
> ld.so.preload but not ld.so.cache.  And it works.  But if I run strace 
> on parted, it uses the ld.so.cache, and doesn't search on *any* 
> location from /etc/ld.so.conf  ... At this point I regenerated the 
> ld.so.cache file again, but no change.
> 
> Again, any thoughts?

What is in /usr/local/lib with parted anywhere in the name?

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list