Re: [PHP] Problems while compiling php_4-2.1 with PostgreSQL

From: Keary Suska <hierophant(at)pcisys(dot)net>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: [PHP] Problems while compiling php_4-2.1 with PostgreSQL
Date: 2002-06-03 17:33:05
Message-ID: B9210471.F1AE%hierophant@pcisys.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-php

on 6/3/02 9:11 AM, devrim(at)oper(dot)metu(dot)edu(dot)tr purportedly said:

>
> 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?

Try --with-pgsql=/usr instead. The configure script should automatically
know header files are in include/ and dso files in lib/. As it stands, the
script is probably looking in /usr/include for libpq.so.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GUNDUZ 2002-06-03 17:38:43 Re: [PHP] Problems while compiling php_4-2.1 with PostgreSQL
Previous Message Jan Wieck 2002-06-03 17:17:21 Re: tid scan - is it ever used?

Browse pgsql-php by date

  From Date Subject
Next Message N4sir Simbolon 2002-06-04 03:08:32 Re: Problems while compiling php_4-2.1 with PostgreSQL
Previous Message JOSEPH EDWARD. 2002-06-03 15:56:43 please kindly get back to me