[CMake] warning "safe linker search path"

John Biddiscombe biddisco at cscs.ch
Mon Mar 9 12:52:13 EDT 2009


> John Biddiscombe wrote:
>> OK. I'm using 2.6.2 I'll let you know if the problem continues with 
>> 2.6.3 or later
so I've been using 2.6.3-rc 14 for a while now

/apps-vis/cmake-2.6.3-RC-14/bin/ccmake --version
ccmake version 2.6-patch 3 RC-14

and the warnings still appear,
     link library [libGLU.so] in /usr/lib64 may be hidden by files in:
       /usr/X11R6/lib64
     link library [libGL.so] in /usr/lib64 may be hidden by files in:
       /usr/X11R6/lib64

but I see that the problem might be 2 levels of indirection, the symlink 
points to another symlink which is the same file

horus12 /project/csvis/biddisco/build > ll /usr/lib64/libGLU.so
lrwxrwxrwx  1 root root 31 Mar  4  2008 /usr/lib64/libGLU.so -> 
../../usr/X11R6/lib64/libGLU.so
horus12 /project/csvis/biddisco/build > ll /usr/X11R6/lib64/libGLU.so
lrwxrwxrwx  1 root root 13 Mar  4  2008 /usr/X11R6/lib64/libGLU.so -> 
libGLU.so.1.3
and
horus12 /project/csvis/biddisco/build > ll 
/usr/lib64/../../usr/X11R6/lib64/libGLU.so
lrwxrwxrwx  1 root root 13 Mar  4  2008 
/usr/lib64/../../usr/X11R6/lib64/libGLU.so -> libGLU.so.1.3

I can live with the warnings, but if there's any improvement in later 
versions, please say.

thanks

JB



More information about the CMake mailing list