Right, but the QGIS build process is not finding the libraries after I've installed postgis2 and postgresql96: [ 69%] Built target qgis_alignrastertest ld: library not found for -lpostgresprovider_a clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [tests/src/providers/CMakeFiles/qgis_postgresprovidertest.dir/build.make:149: output/bin/qgis_postgresprovidertest] Error 1 make[3]: Leaving directory '/Users/liontooth/software/QGIS/QGIS-2.99a/build-release' make[2]: *** [CMakeFiles/Makefile2:19159: tests/src/providers/CMakeFiles/qgis_postgresprovidertest.dir/all] Error 2 In the makefile I added: -DPOSTGRES_CONFIG_PREFER_PATH:FILEPATH=/opt/local/lib/postgresql96/pkgconfig \ -DPOSTGRES_INCLUDE_DIR:FILEPATH=/opt/local/include/postgresql96 \ -DPOSTGRES_LIBRARY:FILEPATH=/opt/local/lib/postgresql96/libpq.dylib \ This is clearly not quite correct, but it finds libpq-fe.h. Has anyone figured this out for OS X? Debian is a breeze compared to OS X -- I do most of my work in Linux, but I need QGIS on a mac laptop and it's a pain. Cheers, Dave On 9/21/17 2:08 AM, Patrick Dunford wrote:
|
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user