MantisBT - CMake
View Issue Details
0012254CMakeCMakepublic2011-06-07 15:482011-06-08 08:19
Mikael Öhman 
 
normalmajoralways
closedduplicate 
LinuxDebianSid
CMake-2-8 
 
0012254: Hardcoded CMAKE_SYSTEM_LIBRARY_PATH is no good.
The find_library function fails to find libraries not installed in the standard.

And old mailing list entry explained it well.
http://www.cmake.org/pipermail/cmake/2010-January/034747.html [^]

I implemented the recursive checking of ld.so.conf, which fixed the problems for me, and gives CMake a correct behavior on Linux systems.

1. Using Debian Sid. New version of glibc places libraries in /usr/lib/x86_64-linux-gnu/ which is overlooked by find_library
2. Configure with CMake and FindMPI will fail to find many libraries such as libld.so, libnsl.so etc.
No tags attached.
duplicate of 0012037closed Brad King support multiarch lib paths for Debian/Ubuntu 
patch UnixPaths.patch (878) 2011-06-07 15:48
https://public.kitware.com/Bug/file/3918/UnixPaths.patch
Issue History
2011-06-07 15:48Mikael ÖhmanNew Issue
2011-06-07 15:48Mikael ÖhmanFile Added: UnixPaths.patch
2011-06-07 16:15Brad KingRelationship addedrelated to 0012037
2011-06-08 08:18Brad KingRelationship replacedduplicate of 0012037
2011-06-08 08:19Brad KingNote Added: 0026755
2011-06-08 08:19Brad KingStatusnew => closed
2011-06-08 08:19Brad KingResolutionopen => duplicate

Notes
(0026755)
Brad King   
2011-06-08 08:19   
Closing as duplicate of issue 0012037. A fix to that issue will encompass this as well.