Re: pg_top problem - Mailing list pgsql-admin

From S Arvind
Subject Re: pg_top problem
Date
Msg-id abf9211d0905140930n27b1d729oab6f66304056c14f@mail.gmail.com
Whole thread Raw
In response to Re: pg_top problem  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Responses Re: pg_top problem  (S Arvind <arvindwill@gmail.com>)
List pgsql-admin
Thanks Devrim,
    I can understand the prob, but when i tried to use the second method it raises the same error. And the first method can u tell me how to add the libpq.so.5 in conf file? since i am new to linux , so i dont know more about it... currently that file has only one line

include ld.so.conf.d/*.conf

i tried including that but got error while ldconfig

can u pls tell how to implement...



"Many of lifes failure are people who did not realize how close they were to success when they gave up."
-Thomas Edison



2009/5/14 Devrim GÜNDÜZ <devrim@gunduz.org>
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

pgsql-admin by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: pg_top problem
Next
From: S Arvind
Date:
Subject: Re: pg_top problem