[gdal-dev] ESRI FileGDB driver causing issues with Postgis build due to packaged libstdc++

Andrew Joseph ap.joseph at live.com
Thu Sep 26 14:54:31 PDT 2019


I'm updating a docker build of gdal/postgis with gdal 3.0.1 and postgis
3.0.0alpha4 on top of a docker image of debian:buster-slim

below is my FileGDB build:

FGDB_BUILD_DIR=/usr/local/FileGDB_API
FGDB_BUNDLE=$BUILD_DIR/fgdb.tar.gz
wget -q -O "$FGDB_BUNDLE"
https://github.com/Esri/file-geodatabase-api/raw/master/FileGDB_API_1.5.1/FileGDB_API_1_5_1-64gcc51.tar.gz
mkdir -p $FGDB_BUILD_DIR
tar -xzf "$FGDB_BUNDLE" -C "$FGDB_BUILD_DIR" --strip-components 1
chown -R root:root ${FGDB_BUILD_DIR}
cd ${FGDB_BUILD_DIR}
echo "$FGDB_BUILD_DIR/lib" > /etc/ld.so.conf.d/filegdbapi.conf
ldconfig
rm -rf ${FGDB_BUNDLE}

When building postgis, I get the following error:

/usr/bin/clang-7: /usr/local/FileGDB_API/lib/libstdc++.so.6: version
`GLIBCXX_3.4.22' not found (required by
/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1)

I know about the issue with older versions of the API and am using the
latest version (1.5.1). 
I cannot simply use the OpenFileGDB Driver as I need write support. 

Is there any workaround for this?




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list