Received: from cooee.cybersydney.com.au (cooee.cybersydney.com.au [203.25.173.1]) by hub.org (8.10.1/8.11.0) with ESMTP id e9QLGCU38436 for ; Thu, 26 Oct 2000 17:16:13 -0400 (EDT) (envelope-from csmith@squiz.net) Received: from smith (pc163.cybersydney.com.au [203.25.173.163]) by cooee.cybersydney.com.au (8.8.7/8.8.7) with ESMTP id IAA13346 for ; Fri, 27 Oct 2000 08:18:49 +1100 Message-Id: <4.2.0.58.20001027081409.00a7cbe0@203.25.173.1> X-Sender: csmith@203.25.173.1 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Fri, 27 Oct 2000 08:16:22 +1000 To: From: Chris Subject: Re: install woes In-Reply-To: <006c01c03f7b$2ac5b060$330a0a0a@6014cwpza006> References: <20001026045217.B12273@quidquam.com> <20001026110704.A16221@bang.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200010/44 X-Sequence-Number: 59 >I entered the path in the ld.so.conf and then ran (I think) ldso. I did it >initially and had no problem ith that error. /usr/sbin/ldconfig is the file you run after adding the line /usr/local/pgsql/lib/ into /etc/ld.so.conf i'm pretty sure. I have this in my quick tutorial, http://designmagick.50megs.com/postgresql-tutorial/ > > 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/ . ------------------------ Chris Smith http://www.squiz.net