X-POP3-Server: Host ([mail.hitechroboticsystemz.com]) 	by hitechgears.com (PostMaster POP3 Login [hrs@hitechroboticsystemz.com] [192.168.0.25]); 	Wed, 28 Dec 2011 15:42:11 +0530
Return-Path: <pgsql-general-owner+m183550@postgresql.org>
Received: from mx2.hub.org [200.46.204.254] by dr178.cyberspaceindia.com with SMTP;
   Wed, 28 Dec 2011 15:28:22 +0530
Received: from postgresql.org (mail.postgresql.org [200.46.204.86])
	by mx2.hub.org (Postfix) with ESMTP id DBAC1685CE4;
	Wed, 28 Dec 2011 05:57:51 -0400 (AST)
Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125])
	by mail.postgresql.org (Postfix) with ESMTP id B0995F47F68
	for <pgsql-general@postgresql.org>; Wed, 28 Dec 2011 05:57:18 -0400 (AST)
Received: from ns1.gunduz.org ([77.79.103.58])
	by makus.postgresql.org with esmtp (Exim 4.72)
	(envelope-from <devrim@gunduz.org>)
	id 1RfqG1-0002fz-AJ
	for pgsql-general@postgresql.org; Wed, 28 Dec 2011 09:57:19 +0000
Received: from [192.168.100.6] (unknown [78.189.47.167])
	(using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
	(No client certificate requested)
	by ns1.gunduz.org (Postfix) with ESMTPSA id 3E91E62F18;
	Wed, 28 Dec 2011 09:53:08 +0000 (UTC)
Message-ID: <1325066203.1943.0.camel@lenovo01-laptop03.gunduz.org>
Subject: Re: [GENERAL] psql error: psql: symbol lookup error: psql:
 undefined symbol: PQconnectdbParams
From: Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <devrim@gunduz.org>
To: hosuresh <suri.hosur@gmail.com>
Cc: pgsql-general@postgresql.org
Date: Wed, 28 Dec 2011 11:56:43 +0200
In-Reply-To: <1325066049906-5104950.post@n5.nabble.com>
References: <1325066049906-5104950.post@n5.nabble.com>
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature";
	boundary="=-vizcY6GtL+6931PsN3eN"
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16)
Mime-Version: 1.0
X-Pg-Spam-Score: -3.2 (---)
X-Mailing-List: pgsql-general
List-Archive: <http://archives.postgresql.org/pgsql-general>
List-Help: <mailto:majordomo@postgresql.org?body=help>
List-ID: <pgsql-general.postgresql.org>
List-Owner: <mailto:pgsql-general-owner@postgresql.org>
List-Post: <mailto:pgsql-general@postgresql.org>
List-Subscribe: <mailto:majordomo@postgresql.org?body=sub%20pgsql-general>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
Precedence: bulk
Sender: pgsql-general-owner@postgresql.org
X-Declude-Sender: pgsql-general-owner+m183550@postgresql.org [200.46.204.254]
X-Declude-Spoolname: 324775899786.eml
X-Declude-RefID: str=0001.0A090201.4EFAE847.0077:SCFMA507887,ss=1,fgs=0
X-Declude-Note: Scanned by Declude 4.10.79 "http://www.declude.com/x-note.htm"
X-Declude-Scan: Incoming Score [3] at 15:28:36 on 28 Dec 2011
X-Declude-Tests: NOABUSE [2], ROUTING [4], SUBCHARS-55 [1], SUBCHARS-60 [1], SUBCHARS-65 [1], FROMNOMATCH [2], HAM-INDICATOR [-10], FILTER-SUBJECT [2], FILTER-COUNTRY [3]
X-Country-Chain: TURKEY->UNITED STATES->PANAMA->destination
X-Declude-Code: 2000011f
X-HELO: mx2.hub.org
X-Identity: 200.46.204.254 | mx2.hub.org | postgresql.org
X-Rcpt-To: <anisha.kaul@hitechroboticsystemz.com>
X-SmarterMail-Spam: Declude: 3
X-SmarterMail-TotalSpamWeight: 3

--=-vizcY6GtL+6931PsN3eN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, 2011-12-28 at 01:54 -0800, hosuresh wrote:
>=20
> I have installed postgresql-9.0 on my CentOS 6.0 server in the
> directory
> /usr/pgsql-9.0/.
> Its data directory resides in /var/lib/pgsql/9.0/
>=20
> unable to run $psql dbname command
>=20
> when i run the commands its showing the error like:
>=20
> [root@CentOS-60-32-minimal ~]# su - postgres
> -bash-4.1$ psql msdi
> psql: symbol lookup error: psql: undefined symbol: PQconnectdbParams
> -bash-4.1$=20

Are there any os-supplied RPMs? What is the output of:

rpm -qa|grep postgresql

Regards,
--=20
Devrim G=C3=9CND=C3=9CZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

--=-vizcY6GtL+6931PsN3eN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAk7659wACgkQtl86P3SPfQ6dRQCg38UM/BtdWCkGJeQbd948EcG5
XXsAn3Vi7bcgv3JBi8uX+QcWIu+0uAhE
=6yhJ
-----END PGP SIGNATURE-----

--=-vizcY6GtL+6931PsN3eN--
