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
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