[cmake-developers] [CMake 0013429]: Symlinked lib directories confuse cmake

Mantis Bug Tracker mantis at public.kitware.com
Fri Jul 20 09:59:08 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13429 
====================================================================== 
Reported By:                Mika Fischer
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13429
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-07-20 09:59 EDT
Last Modified:              2012-07-20 09:59 EDT
====================================================================== 
Summary:                    Symlinked lib directories confuse cmake
Description: 
Since Arch Linux replaced /lib and /lib64 with symlinks to /usr/lib, I get tons
of these:

 CMake Warning at CMakeLists.txt:19 (ADD_EXECUTABLE):
   Cannot generate a safe runtime search path for target Foo because files in
   some directories may conflict with libraries in implicit directories:

     runtime library [libpthread.so] in /usr/lib may be hidden by files in:
       /lib64

   Some of these libraries may not be found correctly.

The issues is that /usr/lib and /lib64 are in fact the same directory, so there
cannot possibly be any problem.

So I guess cmake should take into account in its conflict resolution, whether
some of the lib directories under consideration are actually identical.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-07-20 09:59 Mika Fischer   New Issue                                    
======================================================================




More information about the cmake-developers mailing list