AW: [postgis-users] Error making postgis with postgres 8.0.3

Werdin Jens jens.werdin at siemens.com
Tue Sep 13 03:21:24 PDT 2005


Hi Jim,

I posted it some days ago,
The error is that make seems not to find the libpq.
The error occurs while making pgsql2shp



* --> 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


Thanks
Jens



Jens,

PostGIS does work on PostgreSQL 8.0.3.

What do you mean it doesn't work? Making and installing the software? If
you post details the list can probably help you out.

Jim

> Hi all,
>
> What I found out is:
> Make postgis works fine on postgres 8.0.2. but not on postgres 8.0.3.
>
> I tried it on a SLES 9 and on a SuSE 9.3.
>
> Regards
> Jens
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



-----
James Cradock, jcradock at me3.com

_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list