[gdal-dev] compile gdal 2.3.0 on centos 6.9

Donato.AIRAGHI at ext.ec.europa.eu Donato.AIRAGHI at ext.ec.europa.eu
Fri Jun 29 08:22:59 PDT 2018


Hi,

on Centos 6.9  compiling gdal 2.3.0 with 


./configure --with-python=yes  --with-pg=/usr/pgsql-9.3/bin/pg_config --with-geos=yes --with-curl=/usr/bin/curl-config --with-mrsid=/opt/MrSID/Raster_DSDK/ --with-jp2mrsid=no --with-mrsid_lidar=/opt/MrSID/Lidar_DSDK/ --with-sqlite3 --with-podofo=yes --with-hdf4=/opt/HDF/hdf-4.2.13 --with-hdf5=/opt/HDF/hdf-5.1.8.21 --with-openjpeg=/usr/local --with-jasper=no --with-ecw=no --with-threads --with-spatialite=yes

env:

export OPENJPEG_LIBS=/usr/local/lib/libopenjp2.so
export PKG_CONFIG=/usr/local/bin/pkg-config
export PKG_CONFIG_PATH=PKG_CONFIG_PATH:/usr/lib64/pkgconfig/:/usr/local/lib/pkgconfig/:/usr/pgsql-9.3/lib/pkgconfig/:/usr/share/pkgconfig/
scl enable devtoolset-3 bash


make output :
I get

..../.libs/libgdal.so: undefined reference to `opj_create_compress'
..../.libs/libgdal.so: undefined reference to `opj_stream_create'
..../.libs/libgdal.so: undefined reference to `opj_setup_decoder'
..../.libs/libgdal.so: undefined reference to `opj_image_tile_create'
..../.libs/libgdal.so: undefined reference to `opj_end_decompress'
..../.libs/libgdal.so: undefined reference to `opj_destroy_codec'
..../.libs/libgdal.so: undefined reference to `opj_read_header'
..../.libs/libgdal.so: undefined reference to `opj_image_destroy'
..../.libs/libgdal.so: undefined reference to `opj_end_compress'
.......
.......


any suggestion?

many thanks in advance


Donato Airaghi

System Administrator
Serco s.p.a - JRC Ispra



More information about the gdal-dev mailing list