[postgis-users] Make error

Werdin Jens jens.werdin at siemens.com
Thu Sep 8 02:34:38 PDT 2005


Hello everybody,

I've installed a new Database. The Installation of Postgres was fine.
But when I want to install postgis 1.0.3 I got the following error:

Seems to me that libpq.so can not be found. But it lies in
/usr/local/pgsql/lib

I have a SuSE 9.3 with postgres8.0.3

Can anybody help me??

Greetings 
Jens

*
* --> ERROR
*


make[1]: Entering directory 
`/opt/datenbank/postgresql-8.0.3/contrib/postgis-1.0.3/loader'
gcc -g -Wall -I.. -I. 
-I/opt/datenbank/postgresql-8.0.3/contrib/postgis-1.0.3/../../src/interfaces
/libpq 
-O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels 
-fno-strict-aliasing -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' 
-DUSE_VERSION=80 shpopen.o dbfopen.o getopt.o PQunescapeBytea.o pgsql2shp.o 
-L/opt/datenbank/postgresql-8.0.3/contrib/postgis-1.0.3/../../src/interfaces
/libpq 
-lpq -L/opt/datenbank/postgresql-8.0.3/contrib/postgis-1.0.3/../../src/port 
-lstdc++  -Wl,-rpath,/usr/local/pgsql/lib -o pgsql2shp
/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: 
cannot find -lpq
collect2: ld returned 1 exit status
make[1]: *** [pgsql2shp] Fehler 1
make[1]: Leaving directory 
`/opt/datenbank/postgresql-8.0.3/contrib/postgis-1.0.3/loader'
make: *** [loaderdumper] Fehler 2



More information about the postgis-users mailing list