View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007445 | CMake | Modules | public | 2008-08-02 04:01 | 2009-02-23 22:39 | ||||
Reporter | Antonio Valentino | ||||||||
Assigned To | Philip Lowman | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | CMake-2-6 | |||||||
Summary | 0007445: Wrong link flags for GDAL on ubuntu/debian | ||||||||
Description | cmake seems to fail in setting up link flags for the GDAL library in ubuntu/debian. In this systems the GDAL shared library is named libgdalX.Y.Z.so but cmake always try to link against libgdal.so ---> -lgdal. In my opinion this is due to the facts that FindGDAL.cmake doesn't use gdal-config to set up link flags. The implementation of FindGDAL.cmake provided by the qgis project (https://svn.osgeo.org/qgis/trunk/qgis/cmake/FindGDAL.cmake [^]) seems to fix the problem. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0014745) Philip Lowman (developer) 2009-01-31 01:52 |
Thanks for the suggestion, I've committed code which uses the output from gdal-config. I've also added several guesses as per the libGDAL version should this code fail for some reason (gdal1.5.0 for example). Committer: Philip Lowman <philip@yhbt.com> /cvsroot/CMake/CMake/Modules/FindGDAL.cmake,v <-- FindGDAL.cmake new revision: 1.4; previous revision: 1.3 |
(0015302) Philip Lowman (developer) 2009-02-23 22:39 |
Fix available in 2.6.3 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-08-02 04:01 | Antonio Valentino | New Issue | |
2008-08-19 14:14 | Bill Hoffman | Status | new => assigned |
2008-08-19 14:14 | Bill Hoffman | Assigned To | => Eric Wing |
2009-01-23 00:56 | Philip Lowman | Category | CMake => Modules |
2009-01-31 01:52 | Philip Lowman | Note Added: 0014745 | |
2009-01-31 01:52 | Philip Lowman | Assigned To | Eric Wing => Philip Lowman |
2009-01-31 01:52 | Philip Lowman | Status | assigned => resolved |
2009-01-31 01:52 | Philip Lowman | Resolution | open => fixed |
2009-02-23 22:39 | Philip Lowman | Note Added: 0015302 | |
2009-02-23 22:39 | Philip Lowman | Status | resolved => closed |
2009-02-23 22:39 | Philip Lowman | Fixed in Version | => CMake-2-6 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |