[postgis-users] setenv problem

Garvey, Mary M.Garvey at wlv.ac.uk
Thu Jan 8 07:43:54 PST 2004


Hello,

I'm trying to build postgis with proj4 and geos support, but when it gets to
making pgsql2shp, I'm getting the following:

gcc -g -I.. -I. -I../../../src/interfaces/libpq -O2 -fno-strict-aliasing
-Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND
-DSYSCONFDIR='"/apps/postgres/pgsql/etc"' -DUSE_VERSION=73 shpopen.o
dbfopen.o getopt.o pgsql2shp.o -L../../../src/interfaces/libpq -lpq
-L../../../src/port -lstdc++  -L/apps/postgres/readline/lib
-R/apps/postgres/pgsql/lib -lz -lreadline -ltermcap -lrt -lresolv -lgen
-lsocket -lnsl -ldl -lm  -lpgport -o pgsql2shp
Undefined                       first referenced
 symbol                             in file
setenv                              pgsql2shp.o
ld: fatal: Symbol referencing errors. No output written to pgsql2shp
collect2: ld returned 1 exit status
gmake: *** [pgsql2shp] Error 1


I'm using gcc version 3.3.2 and GNU Make 3.80 running on a Sun Ultra - OS
5.8.

Any pointers gratefully received.

Mary



More information about the postgis-users mailing list