Re: DBD::Pg 2.15.1 compilation failed

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: DBD::Pg 2.15.1 compilation failed
Date: 2009-11-20 18:10:52
Message-ID: c55e086d18dd39d5ee428ca6fd817914@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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&nbsp;&nbsp; -L/usr/local/pgsql/lib -lpq -lm&nbsp;&nbsp; <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(at)turnstep(dot)com
PGP Key: 0x14964AC8 200911201309
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

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

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Barnes 2009-11-20 18:12:53 Re: Is there a tool used to display statement times from postgres logs
Previous Message Matt Solnit 2009-11-20 18:04:27 Re: stuck spinlock (0x2aac3678b0e0) detected at dynahash.c:876