Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 18025475F37 for ; Wed, 26 Jun 2002 13:59:08 -0400 (EDT) Mailbox-Line: From logiplexsoftware@earthlink.net Wed Jun 26 13:59:08 2002 Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by postgresql.org (Postfix) with ESMTP id C037E476AD1 for ; Wed, 26 Jun 2002 12:51:27 -0400 (EDT) Received: from apx1-05-252.pdx.du.teleport.com ([216.26.3.252] helo=software1.logiplex.internal) by hawk.mail.pas.earthlink.net with smtp (Exim 3.33 #2) id 17NG0w-0001bk-00; Wed, 26 Jun 2002 09:51:31 -0700 Date: Wed, 26 Jun 2002 09:48:41 -0700 From: Cliff Wells To: Mark Tessier Cc: pgsql-admin@postgresql.org Subject: Re: error while loading shared libraries: libpq++.so.4 Message-Id: <20020626094841.29458808.logiplexsoftware@earthlink.net> In-Reply-To: <20020625170953.0231b34f.mt@open2web.com> References: <20020625170953.0231b34f.mt@open2web.com> Organization: Logiplex Corporation X-Mailer: Sylpheed version 0.6.5 (GTK+ 1.2.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-0.4 required=5.0 tests=IN_REP_TO,RCVD_IN_MULTIHOP_DSBL,RCVD_IN_OSIRUSOFT_COM, X_RCVD_IN_UNCONFIRMED_DSBL,FUDGE_MULTIHOP_RELAY version=2.30 X-Spam-Level: X-Archive-Number: 200206/212 X-Sequence-Number: 4646 On Tue, 25 Jun 2002 17:09:53 -0400 Mark Tessier wrote: > I get a "Method Not Allowed" when posting to a c++ script from an html page. After much tweaking, I finally did a ./login.cgi and got the following: > > ./login.cgi: error while loading shared libraries: libpq++.so.4: cannot load shared object file: No such file or directory > > To remedy the problem, I went into /etc/profile and added the following: > > LD_LIBRARY_PATH=/usr/local/psql/lib > > This didn't work either, so does anyone have any idea how I can get my libraries to work Since you're on Linux, try editing /etc/ld.so.conf and adding the appropriate path and then run ldconfig (as root). -- Cliff Wells, Software Engineer Logiplex Corporation (www.logiplex.net) (503) 978-6726 x308 (800) 735-0555 x308