Re: DBD::Pg 2.15.1 compilation failed - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: DBD::Pg 2.15.1 compilation failed
Date
Msg-id c55e086d18dd39d5ee428ca6fd817914@biglumber.com
Whole thread Raw
In response to DBD::Pg 2.15.1 compilation failed  (Alexandra Roy <Alexandra.Roy@bull.net>)
Responses Re: DBD::Pg 2.15.1 compilation failed  (Alexandra Roy <Alexandra.Roy@bull.net>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN

Please don't send mail *only* as HTML to the mailing list

> I got a problem with the compilation of DBD::Pg 2.15.1 on AIX 5.3 TL9.
> I have did a 64-bit compilation / installation of PostgreSQL 8.3.8 at
> the beginning.
...
> blib/arch/auto/DBD/Pg/Pg.so   -L/usr/local/pgsql/lib -lpq -lm   <br>
> ld: 0711-317 ERROR: Undefined symbol:
> .PQerrorMessage
> ld: 0711-317 ERROR: Undefined symbol: .PQgetResult

How did you install Postgres? If installed by package did you also install
the -devel package as well, as mentioned in the README file for DBD::Pg?
It's likely that you are not linking to libpq, either because it is not
installed or not in a place that ld can see it. See the section on
"PostgreSQL library issues" in the DBD::Pg README for possible ways
to solve this.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200911201309
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAksG25MACgkQvJuQZxSWSshVGwCfSceaylQklvcCQUCMODfasRlW
uqAAoJFEEBVuihaSnECaz6i9Vvs93CIn
=xh8E
-----END PGP SIGNATURE-----



pgsql-general by date:

Previous
From: Matt Solnit
Date:
Subject: Re: stuck spinlock (0x2aac3678b0e0) detected at dynahash.c:876
Next
From: Chris Barnes
Date:
Subject: Re: Is there a tool used to display statement times from postgres logs