<div dir="ltr">Hi,<div><br></div><div>I'm trying to build "sf" package in R on Fedora 32 but it fails to configure gdal. The error output is below:</div><div><br></div><div>It seems to be some issue referring to a postgres lib? I have libpq-devel installed.</div><div><br></div><div>I googled for hours and I'm still stuck. Please let me know what other information I can provide to help troubleshoot.</div><div> <br><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">/usr/bin/ld </span></span><span style="font-family:monospace"><span style="color:rgb(0,0,0)">/usr/lib64/libgdal.so
</span><br>ld: warning: cannot find entry symbol _start; not setting start address
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQcmdStatus@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQfname@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQsetNoticeProcessor@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQftable@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQstatus@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQftablecol@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQconnectdb@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQescapeStringConn@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `lo_close@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQputCopyEnd@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQgetvalue@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQgetisnull@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQftype@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQfmod@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `lo_creat@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQresultStatus@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `lo_read@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQexec@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQsetClientEncoding@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQgetlength@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQputCopyData@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQgetResult@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `lo_write@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQfinish@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQclear@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQerrorMessage@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQnfields@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `lo_open@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQexecParams@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQntuples@RHPG_9.6'
<br>ld: /usr/lib64/libgdal.so: undefined reference to `PQresultErrorMessage@RHPG_9.6'<br></span><br>Thanks for any help.<br><br>Regards,<br><br>Matthys<span style="font-family:monospace"><br></span></div></div></div>