ld finds some libraries, but not others (REVISED)

2011-12-15 Thread Jonathan Ryshpan
A build is failing with the error cannot find library for libraries that are, in fact present on the system. I made a very simple test bed, consisting of the empty file conftest.c, which I attempt to compile and link with various libraries. All the libraries are in /usr/lib64. Sometimes the

Re: ld finds some libraries, but not others (REVISED)

2011-12-15 Thread Michael Schwendt
On Thu, 15 Dec 2011 00:31:26 -0800, JR (Jonathan) wrote: A build is failing with the error cannot find library for libraries that are, in fact present on the system. They aren't. The test bed is invalid. Linker option -lwhatever needs expects to find a libwhatever.so file or symlink. Those