pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problems while compiling php_4-2.1 with PostgreSQL
3+ messages / 3 participants
[nested] [flat]

* Problems while compiling php_4-2.1 with PostgreSQL
@ 2002-06-03 15:11 Devrim GUNDUZ <devrim@oper.metu.edu.tr>
  2002-06-03 17:33 ` Re: [PHP] Problems while compiling php_4-2.1 with PostgreSQL Keary Suska <hierophant@pcisys.net>
  2002-06-04 03:08 ` Re: Problems while compiling php_4-2.1 with PostgreSQL N4sir Simbolon <nasir@3wsi.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Devrim GUNDUZ @ 2002-06-03 15:11 UTC (permalink / raw)
  To: pgsql-php; +Cc: PostgreSQL Mailing Lists-General <pgsql-general@postgresql.org>


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

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








^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [PHP] Problems while compiling php_4-2.1 with PostgreSQL
  2002-06-03 15:11 Problems while compiling php_4-2.1 with PostgreSQL Devrim GUNDUZ <devrim@oper.metu.edu.tr>
@ 2002-06-03 17:33 ` Keary Suska <hierophant@pcisys.net>
  1 sibling, 0 replies; 3+ messages in thread

From: Keary Suska @ 2002-06-03 17:33 UTC (permalink / raw)
  To: PostgreSQL <pgsql-general@postgresql.org>

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"




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Problems while compiling php_4-2.1 with PostgreSQL
  2002-06-03 15:11 Problems while compiling php_4-2.1 with PostgreSQL Devrim GUNDUZ <devrim@oper.metu.edu.tr>
@ 2002-06-04 03:08 ` N4sir Simbolon <nasir@3wsi.com>
  1 sibling, 0 replies; 3+ messages in thread

From: N4sir Simbolon @ 2002-06-04 03:08 UTC (permalink / raw)
  To: pgsql-php

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

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





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-06-04 03:08 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-06-03 15:11 Problems while compiling php_4-2.1 with PostgreSQL Devrim GUNDUZ <devrim@oper.metu.edu.tr>
2002-06-03 17:33 ` Keary Suska <hierophant@pcisys.net>
2002-06-04 03:08 ` N4sir Simbolon <nasir@3wsi.com>

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