Thanks that did it


Patrick Hatcher

-----Martin Marques <martin@bugs.unl.edu.ar> wrote: -----

To: "Patrick Hatcher" <PHatcher@macys.com>, pgsql-general@postgresql.org
From: Martin Marques <martin@bugs.unl.edu.ar>
Date: 2003-11-22 03:08PM
Subject: Re: [GENERAL] error loading shared libraries: libpq.so.3

El Sáb 22 Nov 2003 17:20, Patrick Hatcher escribió:
> Doing an upgrade on RH 8 box from 7.3.4 to 7.4 from source.  The
> installation appeared go smoothly.  I tried to reinstall my database using
> psql -d someda -f data.file and I get the error message:
> error while loading shared libraries: libpq.so.3:  cannot open shared
> object file: No such file or directory exists.
> However, if I do a find for this file, I find it in my PG directory:
> /usr/local/postgresql7.4/lib
>
> I'm not sure what to do now.  Any suggestions?

It's not in the library path.
Add /usr/local/postgresql7.4/lib to the /etc/ld.so.conf file and run ldconfig.
That should do it.

--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-----------------------------------------------------------------
Martín Marqués                  |        mmarques@unl.edu.ar
Programador, Administrador, DBA |       Centro de Telemática
                      Universidad Nacional
                           del Litoral
-----------------------------------------------------------------

>From pgsql-general-owner@postgresql.org Sun Nov 23 03:38:39 2003 X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 886AAD1D82F for ; Sun, 23 Nov 2003 07:38:33 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 33860-10 for ; Sun, 23 Nov 2003 03:38:03 -0400 (AST) Received: from lmsmtp01.st1.spray.net (lmsmtp01.st1.spray.net [212.78.202.111]) by svr1.postgresql.org (Postfix) with ESMTP id 120F2D1D882 for ; Sun, 23 Nov 2003 03:38:01 -0400 (AST) Received: from dumco (unknown [203.129.254.138]) by lmsmtp01.st1.spray.net (Postfix) with ESMTP id 7E9FF1E79C; Sun, 23 Nov 2003 08:37:58 +0100 (MET) Message-ID: <001901c3b194$b72383a0$1a0110ac@dumco> From: "Durai" To: "Alvaro Herrera" Cc: References: <0a1501c3af7f$e6b22d90$1a0110ac@dumco> <20031122142235.GA6016@dcc.uchile.cl> Subject: Re: Multiuser testing -- PostgreSQL 7.3.4 Date: Sun, 23 Nov 2003 13:06:48 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/1279 X-Sequence-Number: 52929 Thanks to all for providing information about concurent testing. Regs, Durai. ----- Original Message ----- From: "Alvaro Herrera" To: "Durai" Cc: Sent: Saturday, November 22, 2003 7:52 PM Subject: Re: [GENERAL] Multiuser testing -- PostgreSQL 7.3.4 > On Thu, Nov 20, 2003 at 09:33:48PM +0530, Durai wrote: > > > How to test the "Multiuser testing" in PostgreSQL?. I used > > the apache bench "ab" tool for this one. > > For a real world test you would need several scripts doing different > things: updates to different rows, insertions, maybe deletes. Set them up to > be reachable from your web server somehow, and then pass the URLs to siege > (http://joedog.org/siege/). > > -- > Alvaro Herrera () > "The West won the world not by the superiority of its ideas or values > or religion but rather by its superiority in applying organized violence. > Westerners often forget this fact, non-Westerners never do." > (Samuel P. Huntington) > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003