Re: pg_top problem

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: S Arvind <arvindwill(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_top problem
Date: 2009-05-14 14:56:59
Message-ID: 1242313020.3415.77.camel@laptop-hp.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, 2009-05-14 at 14:57 +0530, S Arvind wrote:
> after installing pg_top, when i tried to start it, i got this msg, how
> to solve it
>
> # pg_top
> pg_top: error while loading shared libraries: libpq.so.5: cannot open
> shared object file: No such file or directory

So libpq.so.5 is not in your LD_LIBRARY_PATH. You may want to add the
directory that contains libpq.so.5 to /etc/ld.so.conf and run ldconfig
(as root). Another option might be running

LD_LIBRARY_PATH=/path/to/libpq.so.5 pg_top

-HTH.
--
Devrim GÜNDÜZ, RHCE
Command Prompt - http://www.CommandPrompt.com
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message S Arvind 2009-05-14 16:30:37 Re: pg_top problem
Previous Message Dimitri Fontaine 2009-05-14 14:39:25 Re: Replication for migration