[gdal-dev] Undefined reference to .... at PHPG_9.6
Matthys Kroon
matthysk at gmail.com
Fri Sep 18 06:22:18 PDT 2020
Hi,
I ran into some problems when trying to install some R packages and I
believe the problem has something to do with my gdal configuration. The R
package is trying to load the gdal libraries.
I am using Fedora 32 with installed package:
Installed Packages
Name : gdal-devel
Version : 3.0.4
Release : 2.fc32
Architecture : x86_64
Size : 1.0 M
Source : gdal-3.0.4-2.fc32.src.rpm
Repository : @System
>From repo : fedora
Summary : Development files for the GDAL file format library
URL : http://www.gdal.org
License : MIT
Description : This package contains development files for GDAL.
Installed Packages
Name : gdal
Version : 3.0.4
Release : 2.fc32
Architecture : x86_64
Size : 768 k
Source : gdal-3.0.4-2.fc32.src.rpm
Repository : @System
>From repo : fedora
Summary : GIS file format library
URL : http://www.gdal.org
License : MIT
Description : Geospatial Data ....
When running
$ld /usr/lib64/libgdal.so
I get:
ld: warning: cannot find entry symbol _start; not setting start address
ld: /usr/lib64/libgdal.so: undefined reference to `PQcmdStatus at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQfname at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to
`PQsetNoticeProcessor at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQftable at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQstatus at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQftablecol at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQconnectdb at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to
`PQescapeStringConn at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `lo_close at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQputCopyEnd at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQgetvalue at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQgetisnull at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQftype at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQfmod at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `lo_creat at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQresultStatus at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `lo_read at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQexec at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to
`PQsetClientEncoding at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQgetlength at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQputCopyData at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQgetResult at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `lo_write at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQfinish at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQclear at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQerrorMessage at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQnfields at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `lo_open at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQexecParams at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to `PQntuples at RHPG_9.6'
ld: /usr/lib64/libgdal.so: undefined reference to
`PQresultErrorMessage at RHPG_9.6'
So I figured out that PHPG_9.6 has something to do with PostgreSQL and I
have installed libpq-devel to try and remedy the issue but it does not
help. I am not sure how to troubleshoot this further and hence my email. I
would be very grateful for any assistance.
Best regards,
Matthys Kroon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200918/8adff6d9/attachment.html>
More information about the gdal-dev
mailing list