Re: "error while loading shared libraries: foo.so.0: cannot open shared object file: No such file or directory"

2007-12-17 Thread Laurence Darby
Bob Friesenhahn wrote: > > I thought it did, but this isn't a linking problem (as > > in /usr/bin/ld). The problem is loading a program at start up time > > (when loading dynamic linked libraries). > > > > It's only when a package builds its own libs which it dynamic links > > to runtime, which is

Re: Favoring static linking at configure time

2007-12-17 Thread Peter Rosin
On Sun, Dec 16, 2007 at 11:41:20PM +0100, Benoit Sigoure wrote: > On Dec 16, 2007, at 7:56 PM, Peter Rosin wrote: > > >On Sun, Dec 16, 2007 at 04:23:41PM +0100, Benoit Sigoure wrote: > >>OK So finally I solved the whole thing by adding /abs/path/to/libfoo. > >>$libext (instead of -lfoo) in $LIBS (