From: Paul O. <new...@ki...> - 2009-06-09 18:00:52
|
Hi developers, Since I was able to compile postgis driver on Solaris for a first time, new errors showed up: Undefined first referenced symbol in file PQresultStatus libplayerdrivers/libplayerdrivers.so.2.2.0 PQresultErrorMessage libplayerdrivers/libplayerdrivers.so.2.2.0 PQexec libplayerdrivers/libplayerdrivers.so.2.2.0 PQclear libplayerdrivers/libplayerdrivers.so.2.2.0 PQntuples libplayerdrivers/libplayerdrivers.so.2.2.0 PQfinish libplayerdrivers/libplayerdrivers.so.2.2.0 PQstatus libplayerdrivers/libplayerdrivers.so.2.2.0 PQgetlength libplayerdrivers/libplayerdrivers.so.2.2.0 PQgetvalue libplayerdrivers/libplayerdrivers.so.2.2.0 PQexecParams libplayerdrivers/libplayerdrivers.so.2.2.0 PQsetdbLogin libplayerdrivers/libplayerdrivers.so.2.2.0 ld: fatal: Symbol referencing errors. No output written to player *** Error code 1 The following command caused the error: cd /export/home/guest/psg22/src/build/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/player.dir/link.txt --verbose= make: Fatal error: Command failed for target `server/player' SunCC linker needs every library used while building drivers to be explicitly linked with final player binary. The postgis driver uses libpqxx C++ library managed by pkg-config infrastructure: $ pkg-config libpqxx --libs -lpqxx I don't know which cmake files should be changed to make it work (similarly, cameracompress driver uses libjpeg and cmake scripts know about it while final player binary is linked). Paul |