[CMake] warning "safe linker search path"

Brad King brad.king at kitware.com
Wed Feb 18 09:54:40 EST 2009


John Biddiscombe wrote:
> I get a lot of these warnings (example below), because in
> /usr/lib64 there are symlinks to the libGL files in
> /usr/X11R6/lib64
> 
> Is there a correct (but still safe) way to make these warnings go away. 
> There are a lot of them (a couple per plugin - so on screen we get tens 
> of copies of the warnings).
> 
> I'm not sure if removing the symlinks is an option, but I can ask.

What version of CMake are you using?  CMake is supposed to detect when
the conflicting files are just symlinks to the correct ones, but there
was a bug in this logic for a while.  Try CMake 2.6.3 rc14 from here:

   http://www.cmake.org/files/v2.6/

-Brad


More information about the CMake mailing list