[Zope] Re: [Soft] [Fwd: [Zope] compile ZPoPyDA product problems]

Federico Di Gregorio fog@mixadlive.com
Wed, 2 Aug 2000 09:56:58 +0200


hi,

> > I keep getting the same compile error -
> > 
> > gcc - shared PoPymodule.o -lpq -o PoPymodule.so
> > /usr/i486-suse-linux/bin/ld: cannot find -lpq
> 
> -Find libpq.so on your machine.
> -Edit the last? (going from memory) line of Makefile, adding
>    -L/directory/that/holds/your_libpq 
>  (just the directory, not the filename) right before -lpq

with the new versions of PoPy you can simply do:

	./configure --with-postgres-libs=/directory/that/holds/your_libpq

ciao,
federico

-- 
Federico Di Gregorio
MIXAD LIVE System Programmer                           fog@mixadlive.com
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
  Debian. The best software from the best people [see above]
                                      -- brought to you by One Line Spam