Mailing lists wrote:
It's not the point. Added that variable, and still i receive the same error.
It seems like it doesn't wanna find the libpq-fe.h file...



At 17.55 14/02/2003 -0500, David Kirol wrote:

I don't see LD_LIBRARY_PATH in you env vars. Consult the docs for details
but I bet that's where the problem lies.

> -----Original Message-----
> From: Mailing lists [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 14, 2003 5:27 PM
> To: [EMAIL PROTECTED]
> Subject: help with perl, openbsd and postgres
>
>
> Dear sirs
> i need to drive a postgres database using a perl script.
>
> I also have to tell you that i need to run this stuff on a
> OpenBSD 3.1 box.
>
> First of all, i need to ask you which module should i use.
>
> Honestly, i tried to install the pgsql_perl5-1.9.0.tar.gz but it didn't
> pass the "make" step - it says:
>
> cc -c -I/usr/local/include/postgresql/libpq-fe.h -fno-strict-aliasing
> -I/usr/local/include -O2    -DVERSION=\"1.9.0\"  -DXS_VERSION=\"1.9.0\"
> -DPIC -fPIC -I/usr/libdata/perl5/i386-openbsd/5.6.1/CORE  Pg.c
> Pg.xs:16: libpq-fe.h: No such file or directory
> *** Error code 1
>
> and i set the environment variables POSTGRES_INCLUDE and
> POSTGRES_LIB, to /usr/local/include/postgresql/libpq-fe.h and
> /usr/local/lib/libpq.so.2.1, respectively.
>
These should be set to the directory paths, not the full path to the include/lib. So set them to:

POSTGRES_INCLUDE=/usr/local/include/postgresql
POSTGRES_LIB=/usr/local/lib

And that should help.

http://danconia.org


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to