Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: install woes


  • From: Stephen van Egmond <svanegmond(at)bang(dot)dhs(dot)org>
  • To: pgsql-php(at)postgresql(dot)org
  • Subject: Re: install woes
  • Date: Thu, 26 Oct 2000 11:07:04 -0400
  • Message-id: <20001026110704.A16221@bang.dhs.org> <text/plain>

Mike E (mee(at)quidquam(dot)com) wrote:
> Tonight I installed apache 1.3.14, mysql, postgres, and php4.0.3pl1
> on my slack box at home. However, I'm running into trouble installing
> php w/ postgres. When I apachectl start, I get:
> 
> 	Cannot load /usr/local/apache/libexec/libphp4.so into server:
> 	libpq.so.2.1: cannot open shared object file: No such file or
> 	directory
> 
> I have libpq.so.2.1 in /usr/local/pgsql/lib by default, and I copied
> it into /usr/local/apache/libexec just for fun, but that didn't
> work. Does anyone know of a good web page or have any tips ideas
> on how to get this working?

I think this is in the FAQ... somewhere.  I'm sure I've seen it in the
build instructions.

I think you need to change your library search path, to explicitly
include /usr/local/pgsql/lib/ .  I have seen suggestions that you edit
/etc/ld.so.conf . It found this creepy, so I symlink'ed it in with all
my other libraries in /usr/lib/ .



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group