[Qgis-developer] compile problem - no rule for /usr/lib/postgresql92/lib64/libpq.so

h hdixon at bigpond.net.au
Sat May 11 15:51:33 PDT 2013


Hi,
Not sure if this is a developer or user question.  Should be very basic
for Developers!!!

I am running  opensuse 12.3-64 and have done a pull on the QGIS
repository as per http://www.qgis.org/api/INSTALL.html#toc9.

I ran cmake several times to get all the (reported) dependencies
installed.

On running make I get the following error:

***************
[ 43%] Building CXX object
src/providers/postgres/CMakeFiles/postgresprovider.dir/qgscolumntypethread.cpp.o
[ 43%] Building CXX object
src/providers/postgres/CMakeFiles/postgresprovider.dir/moc_qgspostgresprovider.cxx.o
[ 43%] Building CXX object
src/providers/postgres/CMakeFiles/postgresprovider.dir/moc_qgspostgresdataitems.cxx.o
[ 43%] Building CXX object
src/providers/postgres/CMakeFiles/postgresprovider.dir/moc_qgspgsourceselect.cxx.o
[ 43%] Building CXX object
src/providers/postgres/CMakeFiles/postgresprovider.dir/moc_qgscolumntypethread.cxx.o
make[2]: *** No rule to make target
`/usr/lib/postgresql92/lib64/libpq.so', needed by
`output/lib/qgis/plugins/libpostgresprovider.so'.  Stop. make[1]: ***
[src/providers/postgres/CMakeFiles/postgresprovider.dir/all] Error 2
make: *** [all] Error 2
****************************

On my machine there is a file /usr/lib64/libpq.so.  Is this file that
is required?  
Does a new version need to built?  
How do I set it up so the make file finds it? 
Is a symlink all I need to do?

Thanks in advance
H


More information about the Qgis-developer mailing list