Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id C10D62E02CC for ; Tue, 4 Mar 2008 06:32:55 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 97928-07-3 for ; Tue, 4 Mar 2008 06:32:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail43.e.nsc.no (mail43.e.nsc.no [193.213.115.43]) by postgresql.org (Postfix) with ESMTP id 3652A2E01BE for ; Tue, 4 Mar 2008 06:32:45 -0400 (AST) Received: from [192.168.0.57] (062016190089.customer.alfanett.no [62.16.190.89]) (authenticated bits=0) by mail43.nsc.no (8.13.8/8.13.5) with ESMTP id m24AWgAY011734 for ; Tue, 4 Mar 2008 11:32:43 +0100 (MET) From: "Leif B. Kristensen" To: pgsql-sql@postgresql.org Subject: Re: php to pgsql question Date: Tue, 4 Mar 2008 11:32:42 +0100 User-Agent: KMail/1.9.7 References: <4b886b0c0803040225i69275a19u12f391683da1211e@mail.gmail.com> In-Reply-To: <4b886b0c0803040225i69275a19u12f391683da1211e@mail.gmail.com> X-Face: %iea8o"[SI'kMDS.`hz7lU=?\^lC9J-]CVjo; f{4-C:$?uVUEjyN~uYFn%*aH_c3d09U>=?utf-8?q?x=0A=09TXtaoj=7EMV=2E8PgG7hik9=3BcCT2N6+u?=@Y{wH\p3*_f~FH9k,Wi74e[_l%.7b^'zJ)8S'^G<(=?utf-8?q?=3D=0A=09zw8=5CPMC3=27=7BKl9=2EzL*ks!b6wA?=,c~'F`k&Vq|ELDGa|4 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/8 X-Sequence-Number: 30336 On Tuesday 4. March 2008, li ethan wrote: >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! It's dependent on the libpq library. Do you have that installed? -- Leif Biberg Kristensen | Registered Linux User #338009 http://solumslekt.org/ | Cruising with Gentoo/KDE My Jazz Jukebox: http://www.last.fm/user/leifbk/