[postgis-users] trying to make

János janos.lobb at yale.edu
Thu Dec 2 08:33:01 PST 2004


Today I came back to this compile and tried your suggestion.  Here is 
the result:

Janos:/Volumes/Data/Downloads/postgresql-7.4.6/contrib/postgis-0.9.0 
janos$ sudo make CFLAGS="-lssl"
./geos_version.sh /usr/local > postgis_geos_version.h
make -C loader
gcc -no-cpp-precomp -g -I.. -I. -I../../../src/interfaces/libpq -lssl 
-DFRONTEND -DSYSCONFDIR='"/Volumes/Apps/pgsql/etc"' -DUSE_VERSION=73 
shpopen.o dbfopen.o getopt.o pgsql2shp.o 
-L../../../src/interfaces/libpq -lpq -L../../../src/port -lstdc++   -o 
pgsql2shp
ld: ../../../src/interfaces/libpq/libpq.a(fe-secure.o) illegal 
reference to symbol: _BIO_free defined in indirectly referenced dynamic 
library /usr/lib/libcrypto.0.9.7.dylib
make[1]: *** [pgsql2shp] Error 1
make: *** [loaderdumper] Error 2

Looks like I still reference wrongly the openssl libraries when I 
compile postgresql.  My next try will be to have just the --prefix for 
the config of postgresql and nothing else.

What do you think ?

Thanks ahead,
János
On Nov 22, 2004, at 4:35 PM, strk at refractions.net wrote:

> make CFLAGS="-lssl"
----------------------------------------------
Trying to argue with a politician is like lifting up the head of a 
corpse.
(S. Lem: His Master Voice)




More information about the postgis-users mailing list