Changes between Version 41 and Version 42 of FileGDB
- Timestamp:
- Mar 8, 2017, 12:51:24 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FileGDB
v41 v42 84 84 === How to deal with GCC >= 5.1 C++11 ABI on Linux === 85 85 86 Starting with GCC 5.1, GCC links against [https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html libstdc++ using the C++11 ABI]. This cause issues with FileGDB ABI SDK (at least with 1.4 and earlier versions)which are provided using the old C++ ABI.86 Starting with GCC 5.1, GCC links against [https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html libstdc++ using the C++11 ABI]. This cause issues with FileGDB ABI SDK <= 1.4 which are provided using the old C++ ABI. 87 87 88 88 You'll get linking issues such as … … 92 92 }}} 93 93 94 To workaround this, run configure with: 94 Proper solution: use the FileGDB_API_1_5_32gcc51.tar.gz or FileGDB_API_1_5_64gcc51.tar.gz packages from https://github.com/Esri/file-geodatabase-api/tree/master/FileGDB_API_1.5 95 96 With earlier version, to workaround the link issues, run configure with: 95 97 {{{ 96 98 $ CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" ./configure --with-fgdb=/usr/local/FileGDB_API 97 99 }}} 98 100 99 Note that by doing so, you might have issues if using C++ gdal dependencies built with the new ABI, or if using GDAL in a C++ software built with the new ABI. No perfect solution exists until ESRI releases a new binary compiled with the new libstdc++ ABI.101 Note that by doing so, you might have issues if using C++ gdal dependencies built with the new ABI, or if using GDAL in a C++ software built with the new ABI. So update to FileGDB API 1.5 GCC51 packages is strongly recommended. 100 102 101 103 == Testing the driver ==