[postgis-tickets] [PostGIS] #4467: Error: undefined symbol: proj_get_type when installed from source
PostGIS
trac at osgeo.org
Wed Jul 31 07:30:45 PDT 2019
#4467: Error: undefined symbol: proj_get_type when installed from source
------------------------+---------------------------
Reporter: constant5 | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.0.0
Component: postgis | Version: trunk
Resolution: | Keywords: arm
------------------------+---------------------------
Comment (by constant5):
OK. I uninstalled all proj related packages including some V4 ubuntu
distributions that I must have forgotten to delete after unsuccessfully
trying to install everything from apt.
I started over with the steps above.
1. built and installed proj-6.1.1 from source
2. built and installed geos_3.7.2-1 from source
3. built and installed gdal-3.0.1 from source
4. built and installed postgis_3.0.0alpha_dev from source
Now I get a new error:
testdb=# CREATE EXTENSION postgis;
ERROR: could not load library "/usr/lib/postgresql/10/lib/postgis-3.so":
/usr/lib/postgresql/10/lib/postgis-3.so: undefined symbol:
GEOSFrechetDistanceDensify
I am attaching the ldd output so you can see if postgis has the
appropriate libraries.
ldd /usr/lib/postgresql/10/lib/postgis-3.so
linux-vdso.so.1 (0x0000007fb7c75000)
libgtk3-nocsd.so.0 => /usr/lib/aarch64-linux-
gnu/libgtk3-nocsd.so.0 (0x0000007fb7b26000)
libgeos_c.so.1 => /usr/lib/aarch64-linux-gnu/libgeos_c.so.1
(0x0000007fb7ae4000)
libproj.so.15 => /usr/local/lib/libproj.so.15 (0x0000007fb7895000)
libjson-c.so.3 => /lib/aarch64-linux-gnu/libjson-c.so.3
(0x0000007fb787b000)
libxml2.so.2 => /usr/lib/aarch64-linux-gnu/libxml2.so.2
(0x0000007fb76dc000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007fb7583000)
/lib/ld-linux-aarch64.so.1 (0x0000007fb7c4a000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2
(0x0000007fb756e000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0
(0x0000007fb7542000)
libgeos-3.6.2.so => /usr/lib/aarch64-linux-gnu/libgeos-3.6.2.so
(0x0000007fb7397000)
libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6
(0x0000007fb7204000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1
(0x0000007fb71e0000)
libsqlite3.so.0 => /usr/lib/aarch64-linux-gnu/libsqlite3.so.0
(0x0000007fb70e5000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007fb702b000)
libicuuc.so.60 => /usr/lib/aarch64-linux-gnu/libicuuc.so.60
(0x0000007fb6e56000)
libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000007fb6e29000)
liblzma.so.5 => /lib/aarch64-linux-gnu/liblzma.so.5
(0x0000007fb6df9000)
libicudata.so.60 => /usr/lib/aarch64-linux-gnu/libicudata.so.60
(0x0000007fb5440000)
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4467#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list