0

I am trying to install MapCache in Red Hat linux 8 by building from the source. I am following the tutorial present in https://mapserver.org/mapcache/install.html. But when I run make command the following set of errors show up.

[ 87%] Built target mapcache
[ 89%] Linking C executable mapcache_seed
/usr/local/lib/libgdal.so: undefined reference to `PQresultStatus@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQcmdStatus@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQfname@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `lo_read@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQexec@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQsetClientEncoding@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQsetNoticeProcessor@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQgetlength@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQputCopyData@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQftable@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQstatus@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQftablecol@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQgetResult@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQfinish@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQconnectdb@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `lo_write@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQerrorMessage@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQclear@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQnfields@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `lo_open@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQexecParams@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQescapeStringConn@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `lo_close@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQputCopyEnd@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQntuples@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQgetvalue@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQgetisnull@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQresultErrorMessage@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQftype@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `PQfmod@RHPG_9.6'
/usr/local/lib/libgdal.so: undefined reference to `lo_creat@RHPG_9.6'
collect2: error: ld returned 1 exit status
make[2]: *** [util/CMakeFiles/mapcache_seed.dir/build.make:96: util/mapcache_seed] Error 1
make[1]: *** [CMakeFiles/Makefile2:123: util/CMakeFiles/mapcache_seed.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.