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