[CMake] FIND_LIBRARY not finding libtoto.so.1 if libtoto.so link is missing

Eric Noulard eric.noulard at gmail.com
Fri Aug 31 04:44:11 EDT 2007


I was trying to use (as usual)

FIND_LIBRARY to find an installed library
the library is (Linux system)

/usr/lib/libtoto.so.1
which is a symbolic link to
/usr/lib/libtoto.so.1.0.7

The link /usr/lib/libtoto.so --> /usr/lib/libtoto.so.1
is missing.

Then FIND_LIBRARY does not find
/usr/lib/libtoto.so.1
unless I add the missing link.

Is this a FIND_LIBRARY bug or
bad installation of the concerned lib?

-- 
Erk


More information about the CMake mailing list