Re: psql undefined symbol error on Ubuntu

Поиск
Список
Период
Сортировка
От Harsha Hegde
Тема Re: psql undefined symbol error on Ubuntu
Дата
Msg-id 93BF044A25D2034DA2C64CBEBF6C97DD0D5AE0DA@NJ-MAIL2.vonage.net
обсуждение исходный текст
Ответ на Re: psql undefined symbol error on Ubuntu  (raghu ram <raghuchennuru@gmail.com>)
Список pgsql-novice
Raghu Ram,

Thanks for responding. This link already seems to exist:

# ln -s /lib/libreadline.so.5 /lib/libedit.so.2
ln: creating symbolic link `/lib/libedit.so.2': File exists


Regards,
Harsha

NOTE: The information contained in this email message is considered
confidential and proprietary to the sender and is intended solely for
review and use by the named recipient. Any unauthorized review, use or
distribution is strictly prohibited. If you have received this message
in error, please advise the sender by reply email and delete the
message.





________________________________

From: raghu ram [mailto:raghuchennuru@gmail.com]
Sent: Wednesday, July 08, 2009 11:48 PM
To: Tom Lane
Cc: Harsha Hegde; pgsql-novice@postgresql.org
Subject: Re: [NOVICE] psql undefined symbol error on Ubuntu




On Thu, Jul 9, 2009 at 3:23 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:


    "Harsha Hegde" <harsha.hegde@vonage.com> writes:
    > I have installed postgres client on an Ubuntu machine.
However, when I
    > try to run 'psql', I get this error message:

    > # psql
    > /usr/lib/postgresql/8.3/bin/psql: symbol lookup error:
    > /usr/local/lib/libreadline.so.5: undefined symbol: PC


    This is a readline problem --- it's missing some underlying
library,
    probably libtermcap.

                           regards, tom lane



This is library missing error and you have to soft link with
libedit.so.2. use below command to soft link with library.

ln -s /lib/libreadline.so.5 /lib/libedit.so.2


Run the psql  as a postgres user,like
psql -d <database name> -p <port> -U <username>

Thanks & Regards,
Raghu Ram




    --
    Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
    To make changes to your subscription:
    http://www.postgresql.org/mailpref/pgsql-novice




В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Skipping errors when running scripts
Следующее
От: Michael Wood
Дата:
Сообщение: Re: psql undefined symbol error on Ubuntu