[gdal-dev] Can't build GDAL from Source on Ubuntu Linux 16.04 x64

Even Rouault even.rouault at spatialys.com
Tue Apr 23 01:41:37 PDT 2019


Alex,

GDAL doesn't set the rpath when linking to external libraries, which causes such issue with libtool-based builds
The fix is to define the paths to the MrSID libraries in LD_LIBRARY_PATH

export LD_LIBRARY_PATH=/home/edma/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK/lib:/home/edma/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Lidar_DSDK/lib:$LD_LIBRARY_PATH

Note: in your make log, you also have unrelated linking issues with libkea. you probably attempted a previous build against it.
I suggest you 'make clean' each time you run ./configure before rebuilding

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list