[Zope-DB] problem with make when installing ZPyGreSQLDA

Dieter Maurer dieter at handshake.de
Fri Oct 10 14:50:49 EDT 2003


Zerrin -MÇakmakkaya wrote at 2003-10-10 10:29 +0300:-A
 > I'm trying to install ZPyGreSQLDA.. I extracted ZPyGreSQLDA...tgz, when
 > I'm in /usr/local/zope. ZPyGreSQLDA directory is created in
 > /usr/local/zope/lib/python/Products. I changed the directory to /src and
 > wrote:
 > 
 > make -f Makefile.pre.in boot
 > 
 > when I write
 > 
 > make
 > 
 > I receive following error:
 > 
 > gcc -shared  ./pgmodule.o  -lpq -lcrypt  -o ./_pgmodule.so
 > /usr/bin/ld: cannot find -lpq
 > collect2: ld returned 1 exit status
 > make: *** [_pgmodule.so] Error 1

The build process does not find the PostgreSQL library, i.e. "libpq.so".
You may need to define/extend "LD_LIBRARY_PATH".


Dieter



More information about the Zope-DB mailing list