From: li ethan <ethan919@gmail.com>
To: pgsql-sql@postgresql.org
Subject: php to pgsql question
Date: Tue, 4 Mar 2008 18:25:21 +0800
Message-ID: <4b886b0c0803040225i69275a19u12f391683da1211e@mail.gmail.com> (raw)
HI guys!
I've been encounting a problem when I configured PHP to support
Postgres.I think may be someone in here can solve my problem.
Postgres version is 8.1.4,and the install path is /usr/local/pgsql, PHP
is 4.4.2.
I use this parameter to configure PHP --with-pgsql=/usr/local/pgsql
(I also try /usr/local, /usr/local/lib,etc. still do not work)
when I run make,I get this error message:
main/internal_functions_cli.lo(.data.rel+0x28): undefined reference to
`pgsql_module_entry' collect2: ld returned 1 exit status make: ***
[sapi/cli/php] Error 1
Anyone know what the problem is? And how to solve it?
Thanks in advance!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ethan919@gmail.com
Subject: Re: php to pgsql question
In-Reply-To: <4b886b0c0803040225i69275a19u12f391683da1211e@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox