Problems while compiling php_4-2.1 with PostgreSQL

Problems while compiling php_4-2.1 with PostgreSQL

am 03.06.2002 17:11:59 von Devrim GUNDUZ

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 :


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@oper.metu.edu.tr
devrim.gunduz@linux.org.tr

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






---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Re: Problems while compiling php_4-2.1 with PostgreSQL

am 04.06.2002 05:08:32 von N4sir Simbolon

> I get the following error when I use --with-pgsql=/var/lib/pgsql or
> --with-pgsql=/usr/include :
>
>
> checking for PostgreSQL support... yes
> configure: error: Cannot find libpq.so. Please specify correct PostgreSQL
> installation path.

configure cannot find libpq.so in the directory /var/lib/pgsql or
/usr/include.

>
> libpq.so comes with postgresql-devel and that package is installed...
>
> What should I do to solve it?
find out where is the location of libpq.so and specify the location in
--with-pgsql option while configure


Regards,

--
Nasir Simbolon



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)