I'm not able to compile GDAL with the ESRI FileGeodatabase driver (needed for
write support) on Ubuntu 16.04 with Docker (current LTS) I'm using the the
travis.yml of the 2.1_gcc5.2_sanitize coverage branch as a guide since that
seems to be the closest environment to 16.04.
However, during GDAL ma
Andrew,
Remove
CXX="g++ -std=c++14" CPPFLAGS="-DMAKE_SANITIZE_HAPPY -fsanitize=undefined -
fsanitize=address" LDFLAGS="-fsanitize=undefined -fsanitize=address"
from the configure.
They are not intended for production use. More specifically the FGDB SDK
doesn't like compiling with C++11 or 14.
On 2016-08-04 5:24 PM, Andrew Joseph wrote:
I'm not able to compile GDAL with the ESRI FileGeodatabase driver (needed for
write support) on Ubuntu 16.04 with Docker (current LTS) I'm using the the
travis.yml of the 2.1_gcc5.2_sanitize coverage branch as a guide since that
seems to be the closest
On Thursday 04 August 2016 15:59:22 Andrew Joseph wrote:
> I had originally compiled without any of those flags (thought that might
> have been the issue), but still get an error though it is different:
You may need to pass -std=C++03 and/or -D_GLIBCXX_USE_CXX11_ABI=0 as CXXFLAGS.
>
> /tmp/gdal
using ./configure CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" results in:
/tmp/gdal/gdal/libgdal.so: undefined reference to
`PoDoFo::PdfMemDocument::SetPassword(std::string
const&)'
/tmp/gdal/gdal/libgdal.so: undefined reference to
`mongo::client::Options::setSSLPEMKeyFile(std::string
const&)'
/tmp/gdal
On Thursday 04 August 2016 17:00:29 Andrew Joseph wrote:
> using ./configure CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" results in:
>
[...]
Looks like you must drop the mongo, podofo and kea dependencies, or recompile
them with -D_GLIBCXX_USE_CXX11_ABI=0 as well.
> and ./configure CXXFLAGS="-std=C++