2007/8/31, Dizzy <[EMAIL PROTECTED]>: > On Friday 31 August 2007 11:44:11 Eric Noulard wrote: > > 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. > > How did you used FIND_LIBRARY exactly? (its arguments) Because if you used > something like FIND_LIBRARY(NAMES toto) then it's probably intended > behaviour.
yes the call is: FIND_LIBRARY(TOTOLIB NAMES toto) > Does autoconf finds your library in that case using AC_CHECK_LIB(toto, ...)? I haven't tried autoconf :) I'm trying to quit :=) > > bad installation of the concerned lib? > > Seems more like a bad installation to me but I would also first look into what > AC_CHECK_LIB() does in a similar position. I did try a manual link with -ltoto which fails... I think Gonzalo is right the lib is misinstalled even some precompiled prog seems to use it with no trouble. I'll file a bug to the provider of the package. -- Erk _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake