MantisBT - CMake
View Issue Details
0012248CMakeModulespublic2011-06-06 07:222011-11-11 10:45
Christoph Höger 
Brad King 
normalminoralways
closedfixed 
Fedora 15 x86_64Linux2.6.38.6-27.fc15
CMake 2.8.4 
CMake 2.8.5CMake 2.8.5 
0012248: Boost libraries are not searched in /usr/lib64
64 bit libraries under fedora are installed under /usr/lib64, the boost module does not use find_library() but searches itself.
find_package(Boost COMPONENTS filesystem REQUIRED)
find attached a patch to workaround the issue.
No tags attached.
related to 0012247closed Brad King python libraries are not searched under lib64/ 
patch cmake-boost-libs.patch (484) 2011-06-06 07:22
https://public.kitware.com/Bug/file/3912/cmake-boost-libs.patch
Issue History
2011-06-06 07:22Christoph HögerNew Issue
2011-06-06 07:22Christoph HögerFile Added: cmake-boost-libs.patch
2011-06-07 08:21Eric NOULARDRelationship addedrelated to 0012037
2011-06-14 13:29Brad KingAssigned To => Philip Lowman
2011-06-14 13:29Brad KingStatusnew => assigned
2011-06-14 13:29Brad KingNote Added: 0026856
2011-06-14 13:33Brad KingNote Added: 0026857
2011-06-14 13:33Brad KingRelationship deletedrelated to 0012037
2011-06-14 13:34Brad KingNote Added: 0026858
2011-06-14 13:35Brad KingRelationship addedrelated to 0011964
2011-06-14 13:35Brad KingRelationship addedrelated to 0012247
2011-06-14 13:37Brad KingRelationship deletedrelated to 0011964
2011-06-14 13:37Brad KingNote Added: 0026859
2011-06-14 14:14Christoph HögerNote Added: 0026863
2011-06-15 08:24Brad KingAssigned ToPhilip Lowman => Brad King
2011-06-15 09:03Brad KingNote Added: 0026873
2011-06-15 09:03Brad KingStatusassigned => resolved
2011-06-15 09:03Brad KingResolutionopen => fixed
2011-06-21 13:02David ColeFixed in Version => CMake 2.8.5
2011-06-21 13:02David ColeTarget Version => CMake 2.8.5
2011-11-11 10:45David ColeNote Added: 0027777
2011-11-11 10:45David ColeStatusresolved => closed

Notes
(0026856)
Brad King   
2011-06-14 13:29   
Assigned to Philip Lowman, the current module maintainer for FindBoost.
(0026857)
Brad King   
2011-06-14 13:33   
The module does use find_library. The list that cmake-boost-libs.patch modifies is used to compute this argument:

  find_library(... HINTS ${_boost_LIBRARY_SEARCH_DIRS} ...)

Any path ending in "lib" should be automatically transformed to "lib64" by this platform configuration setting:

  http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_global:FIND_LIBRARY_USE_LIB64_PATHS [^]

which defaults to true:

  http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/Platform/UnixPaths.cmake;hb=v2.8.4#l88 [^]

everywhere except on Debian which does not use lib64:

  http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/Platform/Linux.cmake;hb=v2.8.4#l53 [^]
(0026858)
Brad King   
2011-06-14 13:34   
Removed relationship with issue 0012037 because the problem is unrelated (though it is similar).
(0026859)
Brad King   
2011-06-14 13:37   
Removed relationship with issue 0011964 which is about installation, not finding.
(0026863)
Christoph Höger   
2011-06-14 14:14   
Ok, it _should_ work. Apparently it does not in cmake-2.8.4 .
(0026873)
Brad King   
2011-06-15 09:03   
See 0012247:0026869 for explanation (CXX-only project). Here is the fix:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5abfb571 [^]
(0027777)
David Cole   
2011-11-11 10:45   
Closing resolved issues that have not been updated in more than 4 months.