Re: pg_top problem

Поиск
Список
Период
Сортировка
Искать
От
S Arvind
Тема
Re: pg_top problem
Дата
в 13:31:08
Msg-id
abf9211d0905140930n27b1d729oab6f66304056c14f@mail.gmail.com
Ответ на
Re: pg_top problem (Devrim GÜNDÜZ)
Список
Дерево обсуждения
pg_top problem S Arvind <arvindwill@gmail.com>
Re: pg_top problem Devrim GÜNDÜZ <devrim@gunduz.org>
Re: pg_top problem S Arvind <arvindwill@gmail.com>
Re: pg_top problem S Arvind <arvindwill@gmail.com>
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 по дате отправления
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: pg_top problem
От: S Arvind
Дата:
Сообщение: Re: pg_top problem
FAQ