[Zope] Re: Postgres with Zope.
Dieter Maurer
dieter at handshake.de
Tue Oct 28 15:39:16 EST 2003
Rajeev Sharma wrote at 2003-10-28 15:27 :
> ...
> [root at thickserver psycopg-1.1.9]# make
> gcc -shared ./module.o ./connection.o ./cursor.o ./typeobj.o ./typemod.o
> -L/usr/local/lib -lpq -lcrypt -lpthread -ldl -lutil -o ./psycopgmodule.so
> /usr/bin/ld: cannot find -lpq
> collect2: ld returned 1 exit status
> make: *** [psycopgmodule.so] Error 1
>
> What am i missing ?
I already told you (why have you not read my message?)
that the linker cannot find the the postgres client library
("libpq.so").
You must install "libpq.so" at a place where the linker looks
for it (usually e.g. "/lib", "/usr/lib" and maybe "/usr/local/lib").
If you do not want to install it there, you must
tell the linker where it can find it via "LD_LIBRARY_PATH".
Consult your linker documentation (--> part of your OS!), for
details.
--
Dieter
More information about the Zope
mailing list