[CLUE-Tech] ldconfig & ld question.

anselmi at americanisp.net anselmi at americanisp.net
Tue Jun 11 10:43:58 MDT 2002


This occurs on a SuSE 7.3 system with glibc 2.2.4

I have a library, libXi.so.6.0.  I use ldconfig to set up the cache and links, 
and it makes a libXi.so.6 link to my library.

When compiling a particular program, the linker is invoked as ld -lXi and it 
tries to find libXi.so but not libXi.so.6 (if I make the libXi.so link by hand, 
the linker finds it and dies on the next library).

I seem to remember on an LFS system I built that ldconfig would make a libXi.so 
link.

So, how can I get ldconfig to generate a libXi.so link?  Or, how can I get ld 
to recognize libXi.so.6 as the file it needs?

Thanks.

Dave





More information about the clue-tech mailing list