[gdal-dev] Lame question, but failing to build GDAL 3.0.0RC2 against Proj 6.0.0
Peter Schmitt
pschmitt at gmail.com
Tue May 7 20:25:10 PDT 2019
> make[1]: Entering directory
'/home/simon.eves/scratch/gdal3/gdal-3.0.0/apps'
> /bin/bash /home/simon.eves/scratch/gdal3/gdal-3.0.0/libtool --mode=link
--silent g++ gdalinfo_bin.lo /home/simon.eves/scratch/gdal3/gdal-3.0.0/
libgdal.la -o gdalinfo
> /home/simon.eves/scratch/gdal3/gdal-3.0.0/.libs/libgdal.so: undefined
reference to `proj_alter_name'
I had a similar problems linking recently. I was building GDAL against a
version of libcurl I built myself & got "undefined reference" to a few curl
symbols. I was able to get past the link errors by running "configure
--without-libtool ....". Later, I revisited the problem and found a
potentially better solution: I made sure to uninstall my OS libcurl, build
my own curl, then built GDAL. If the OS libcurl made it back onto the
system after install, I needed to set
LD_LIBRARY_PATH=/path/to/my/libcurl/lib:$LD_LIBRARY_PATH to avoid runtime
errors.
Hope that helps!
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190507/fed5caf2/attachment.html>
More information about the gdal-dev
mailing list