Skip site navigation (1) Skip section navigation (2)

Re: psql undefined symbol error on Ubuntu

From: "Harsha Hegde" <harsha(dot)hegde(at)vonage(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: psql undefined symbol error on Ubuntu
Date: 2009-07-09 14:57:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Raghu Ram,
Thanks for responding. This link already seems to exist:
# ln -s /lib/ /lib/ 
ln: creating symbolic link `/lib/': File exists 
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



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

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

	"Harsha Hegde" <harsha(dot)hegde(at)vonage(dot)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/ undefined symbol: PC
	This is a readline problem --- it's missing some underlying
	probably libtermcap.
	                       regards, tom lane

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

ln -s /lib/ /lib/ 

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(at)postgresql(dot)org)
	To make changes to your subscription:

In response to

pgsql-novice by date

Next:From: Michael WoodDate: 2009-07-09 15:18:21
Subject: Re: psql undefined symbol error on Ubuntu
Previous:From: Tom LaneDate: 2009-07-09 13:58:23
Subject: Re: Skipping errors when running scripts

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group