Received: from cr322781-a.ym1.on.wave.home.com (mail@cr322781-a.ym1.on.wave.home.com [24.112.37.89]) by hub.org (8.10.1/8.11.0) with ESMTP id e9QF6iU85652 for ; Thu, 26 Oct 2000 11:06:44 -0400 (EDT) (envelope-from svanegmond@bang.dhs.org) Received: from svanegmond by cr322781-a.ym1.on.wave.home.com with local (Exim 3.16 #1 (Debian)) id 13oocS-0004HL-00 for ; Thu, 26 Oct 2000 11:07:04 -0400 Date: Thu, 26 Oct 2000 11:07:04 -0400 To: pgsql-php@postgresql.org Subject: Re: install woes Message-ID: <20001026110704.A16221@bang.dhs.org> Reply-To: svanegmond@home.com References: <20001026045217.B12273@quidquam.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001026045217.B12273@quidquam.com>; from mee@quidquam.com on Thu, Oct 26, 2000 at 04:52:17AM -0700 From: Stephen van Egmond X-Archive-Number: 200010/41 X-Sequence-Number: 56 Mike E (mee@quidquam.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/ .