[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4530: ld cannot find most shared libraries

On Fri, 20 Sep 1996 16:46:52 +1000 Mr Stuart Lamble 
(lamble@aurora.cc.monash.edu.au) wrote:

> I've recently had problems linking programs non-statically with (e.g.) the
> X11 libraries, etc. Static libraries are fine, shared have problems. Upon
> investigation, and discussion with a friend, it appears that ld cannot find
> files of the form:
>   libfoo.so.1
>   libfoo.so.1.2.3
> etc. - there has to be a symlink libfoo.so for libfoo to be found. Upon
> creating such symlinks, everything worked fine. (well, once I got rid of
> the /lib/libc.so => /lib/libc.so.4 link, that is :-) Oops. :)

This is because the development packages aren't installed. Install libfoo-dev to get the symlinks, the include files, etc...


Reply to: