View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011246 | CMake | CMake | public | 2010-09-18 11:15 | 2010-11-09 22:57 | ||||
Reporter | Philip Lowman | ||||||||
Assigned To | Philip Lowman | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | CMake 2.8.3 | Fixed in Version | CMake 2.8.3 | ||||||
Summary | 0011246: FindBoost can find shared libraries (.so) even when Boost_USE_STATIC_LIBS is set | ||||||||
Description | When Boost_USE_STATIC_LIBS is set, FindBoost has a bug in it where it can still find shared libraries (.so) files in some rare circumstances. The circumstances which exhibit this bug is a situation like below. If the user were to delete libboost_system-mt.a FindBoost would find libboost_system-mt.so. The reason why is the CMAKE_FIND_LIBRARY_SUFFIXES variable is set to search ".a" then ".so" when Boost_USE_STATIC_LIBS is true. CMake searches every filename in the list first for a ".a" and then for a ".so". Most users shouldn't encounter this bug unless they are doing something strange to their installed boost libraries. libboost_system-mt.a (Delete this file, and FindBoost finds "libboost_system-mt.so") libboost_system-mt.so libboost_system.a libboost_system.so | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0022261) Philip Lowman (developer) 2010-09-18 11:17 |
Will be fixed in 2.8.3 RC2 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-09-18 11:15 | Philip Lowman | New Issue | |
2010-09-18 11:15 | Philip Lowman | Status | new => assigned |
2010-09-18 11:15 | Philip Lowman | Assigned To | => Philip Lowman |
2010-09-18 11:16 | Philip Lowman | Target Version | => CMake 2.8.3 |
2010-09-18 11:17 | Philip Lowman | Note Added: 0022261 | |
2010-09-18 11:17 | Philip Lowman | Status | assigned => resolved |
2010-09-18 11:17 | Philip Lowman | Fixed in Version | => CMake 2.8.3 |
2010-09-18 11:17 | Philip Lowman | Resolution | open => fixed |
2010-11-09 22:57 | Philip Lowman | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |