View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012248CMakeModulespublic2011-06-06 07:222011-11-11 10:45
ReporterChristoph Höger 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformFedora 15 x86_64OSLinuxOS Version2.6.38.6-27.fc15
Product VersionCMake 2.8.4 
Target VersionCMake 2.8.5Fixed in VersionCMake 2.8.5 
Summary0012248: Boost libraries are not searched in /usr/lib64
Description64 bit libraries under fedora are installed under /usr/lib64, the boost module does not use find_library() but searches itself.
Steps To Reproducefind_package(Boost COMPONENTS filesystem REQUIRED)
Additional Informationfind attached a patch to workaround the issue.
TagsNo tags attached.
Attached Filespatch file icon cmake-boost-libs.patch [^] (484 bytes) 2011-06-06 07:22 [Show Content]

 Relationships
related to 0012247closedBrad King python libraries are not searched under lib64/ 

  Notes
(0026856)
Brad King (manager)
2011-06-14 13:29

Assigned to Philip Lowman, the current module maintainer for FindBoost.
(0026857)
Brad King (manager)
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 (manager)
2011-06-14 13:34

Removed relationship with issue 0012037 because the problem is unrelated (though it is similar).
(0026859)
Brad King (manager)
2011-06-14 13:37

Removed relationship with issue 0011964 which is about installation, not finding.
(0026863)
Christoph Höger (reporter)
2011-06-14 14:14

Ok, it _should_ work. Apparently it does not in cmake-2.8.4 .
(0026873)
Brad King (manager)
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 (manager)
2011-11-11 10:45

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2011-06-06 07:22 Christoph Höger New Issue
2011-06-06 07:22 Christoph Höger File Added: cmake-boost-libs.patch
2011-06-07 08:21 Eric NOULARD Relationship added related to 0012037
2011-06-14 13:29 Brad King Assigned To => Philip Lowman
2011-06-14 13:29 Brad King Status new => assigned
2011-06-14 13:29 Brad King Note Added: 0026856
2011-06-14 13:33 Brad King Note Added: 0026857
2011-06-14 13:33 Brad King Relationship deleted related to 0012037
2011-06-14 13:34 Brad King Note Added: 0026858
2011-06-14 13:35 Brad King Relationship added related to 0011964
2011-06-14 13:35 Brad King Relationship added related to 0012247
2011-06-14 13:37 Brad King Relationship deleted related to 0011964
2011-06-14 13:37 Brad King Note Added: 0026859
2011-06-14 14:14 Christoph Höger Note Added: 0026863
2011-06-15 08:24 Brad King Assigned To Philip Lowman => Brad King
2011-06-15 09:03 Brad King Note Added: 0026873
2011-06-15 09:03 Brad King Status assigned => resolved
2011-06-15 09:03 Brad King Resolution open => fixed
2011-06-21 13:02 David Cole Fixed in Version => CMake 2.8.5
2011-06-21 13:02 David Cole Target Version => CMake 2.8.5
2011-11-11 10:45 David Cole Note Added: 0027777
2011-11-11 10:45 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team