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

2019-06-13 Thread Igor Belyakov
You mean this? (cd apps; make)make[1]: Entering directory '/home/psi1/Downloads/gdal-3.0.0/apps'/bin/bash /home/psi1/Downloads/gdal-3.0.0/libtool --mode=link --silent g++  gdalinfo_bin.lo  /home/psi1/Downloads/gdal-3.0.0/libgdal.la  -o gdalinfo/home/psi1/Downloads/gdal-3.0.0/.libs/libgdal.so: undef

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

2019-06-11 Thread Andrew Bell
In order to help, you should provide the link line -- at least the part of it that contains the library directory references. Building GDAL is tricky and it's easy locate the wrong library/headers. You should also locate other proj libraries on your system that might be getting found. On Tue, Ju

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

2019-06-11 Thread Igor Belyakov
$ export LD_LIBRARY_PATH=/usr/local/lib; make- doesn't work either.And /usr/local/lib is already in /etc/ld.so.conf(to be exact, it's in /etc/ld.so.conf.d/libc.conf that is included in /etc/ld.so.conf with "include /etc/ld.so.conf.d/*.conf") 11.06.2019, 20:39, "Even Rouault" :On mardi 11 juin 2019

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

2019-06-11 Thread Even Rouault
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 th

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

2019-06-11 Thread Igor Belyakov
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.  11.06.2019, 16:15, "Igor Belyakov" :I t

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

2019-06-11 Thread Igor Belyakov
I try to build GDAL on Ubuntu 18.04. The linker reports errors:gdal-3.0.0/.libs/libgdal.so: undefined reference to `proj_alter_name'gdal-3.0.0/.libs/libgdal.so: undefined reference to `proj_create_conversion_eckert_i'and so on. There are many undefined references to functions declared in Proj libra