[gdal-dev] Undefined references to proj_* functions while building GDAL

Even Rouault even.rouault at spatialys.com
Tue Jun 11 10:39:17 PDT 2019


On mardi 11 juin 2019 20:28:01 CEST Igor Belyakov wrote:
> I also checked (with readelf) if my libproj files contain those symbols.
> There are libproj.a, libproj.so, libproj.so.15 and libproj.so.15.1.0 files
> in usr/local/lib and they all contain symbol `proj_alter_name'. But for
> some reason the linker cannot find it.

you may need to add /usr/local/lib to your /etc/ld.so.conf or define the 
LD_LIBRARY_PATH=/usr/local/lib environment variable.
GDAL build process doesn't set RPATH by default.

Even

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


More information about the gdal-dev mailing list