pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keary Suska <hierophant@pcisys.net>
To: PostgreSQL <pgsql-general@postgresql.org>
Subject: Re: [PHP] Problems while compiling php_4-2.1 with PostgreSQL
Date: Mon, 03 Jun 2002 11:33:05 -0600
Message-ID: <B9210471.F1AE%hierophant@pcisys.net> (raw)
In-Reply-To: <Pine.LNX.4.44.0206031754170.9719-100000@oper.metu.edu.tr>

on 6/3/02 9:11 AM, devrim@oper.metu.edu.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"




view thread (3+ messages)  latest in thread

Message-ID: <B9210471.F1AE%hierophant@pcisys.net>
Permalink:  ../B9210471.F1AE%25hierophant@pcisys.net/
Also on:    postgresql.org/message-id/B9210471.F1AE%hierophant@pcisys.net

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: hierophant@pcisys.net, pgsql-general@postgresql.org
  Subject: Re: [PHP] Problems while compiling php_4-2.1 with PostgreSQL
  In-Reply-To: <B9210471.F1AE%hierophant@pcisys.net>
  References: <Pine.LNX.4.44.0206031754170.9719-100000@oper.metu.edu.tr> <B9210471.F1AE%hierophant@pcisys.net>

* 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