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 are provided by the respective -devel packages.
lrwxrwxrwx. 1 root root 15 Nov 9 18:28 libICE.so -> libICE.so.6.3.0* lrwxrwxrwx. 1 root root 15 Nov 9 08:02 libICE.so.6 -> libICE.so.6.3.0* -rwxr-xr-x. 1 root root 98328 Jun 21 09:37 libICE.so.6.3.0*
Here, libICE.so is present.
lrwxrwxrwx. 1 root root 14 Nov 9 08:14 libgd.so.2 -> libgd.so.2.0.0* -rwxr-xr-x. 1 root root 278048 Oct 26 20:15 libgd.so.2.0.0*
Here, libgd.so is not present.
/usr/bin/ld: cannot find -lgd