Problems while compiling php_4-2.1 with PostgreSQL

From: Devrim GUNDUZ <devrim(at)oper(dot)metu(dot)edu(dot)tr>
To: pgsql-php(at)postgresql(dot)org
Cc: PostgreSQL Mailing Lists-General <pgsql-general(at)postgresql(dot)org>
Subject: Problems while compiling php_4-2.1 with PostgreSQL
Date: 2002-06-03 15:11:59
Message-ID: Pine.LNX.4.44.0206031754170.9719-100000@oper.metu.edu.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-php


Hi all,

I'm trying to compile PHP 4.2.1 with PostgreSQL 7.2.1 on a RedHat 7.3 .
Have the following rpms:

postgresql-server-7.2.1-5
postgresql-devel-7.2.1-5
postgresql-7.2.1-5
postgresql-contrib-7.2.1-5
postgresql-docs-7.2.1-5
postgresql-libs-7.2.1-5

I get the following error when I use --with-pgsql=/var/lib/pgsql or
--with-pgsql=/usr/include :

<snip>
checking for PostgreSQL support... yes
configure: error: Cannot find libpq.so. Please specify correct PostgreSQL installation path.

libpq.so comes with postgresql-devel and that package is installed...

What should I do to solve it?

Regards,

--

Devrim GUNDUZ

devrim(at)oper(dot)metu(dot)edu(dot)tr
devrim(dot)gunduz(at)linux(dot)org(dot)tr

Web : http://devrim.oper.metu.edu.tr
-------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matteo Beccati 2002-06-03 15:29:17 Re: [PHP] Problems while compiling php_4-2.1 with PostgreSQL
Previous Message Mathieu Arnold 2002-06-03 14:39:26 Re: strangeness in pg_dump

Browse pgsql-php by date

  From Date Subject
Next Message JOSEPH EDWARD. 2002-06-03 15:56:43 please kindly get back to me
Previous Message Dan Wilson 2002-06-01 14:33:15 Re: Incompatibility Postgres 7.1 - Postgres 7.3