Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n2EoD-0003CP-A3 for pgsql-general@arkaria.postgresql.org; Tue, 28 Dec 2021 15:54:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n2EoC-0004DA-6e for pgsql-general@arkaria.postgresql.org; Tue, 28 Dec 2021 15:54:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n2EoA-0004D1-3s for pgsql-general@lists.postgresql.org; Tue, 28 Dec 2021 15:54:39 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n2Eo6-0007qA-8w for pgsql-general@lists.postgresql.org; Tue, 28 Dec 2021 15:54:36 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 697C93201D0E; Tue, 28 Dec 2021 10:54:32 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 28 Dec 2021 10:54:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:mime-version:subject:to:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=z eJ6hscfdXykD8W734a4ILYsT42zitBFXBdZ41JPQjU=; b=Ul6F3fPhwiKL3yhia gqqHKyYQNW3QfjJLwTx5zIrtO80fehpMhhQVcunElqbjFCcYfsg59TKa88UbnTL9 lgyRYWRs3YlqU5H87I+06Jf5Q+zMXGMSQ98JwKeBbufzF1suBFYXjrl/mrwCB6lz IyaUowrvOcu8ErB0t8cChDNx1TcV4PDsVEM3dhaW4y0twrDb95dZjV/H/e99Ob3Y irHsD0W36UtHfKXOOU+LENPspNTBD/B25vNkL77hfakFkYc7+/T0ekQobYp0sDV9 XwdlBRUgcPjNiAskAfsVIWKqL1smFN0fCzrpIQEBnszXug2wxaTjokWK4T/Hw47T YvuDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=zeJ6hscfdXykD8W734a4ILYsT42zitBFXBdZ41JPQ jU=; b=YPFrGriGn/Vaq3ipkWTI460BZkDyVvfCvVohQnR1P4jUVnYMZNuQ6N9Tf /vD0cZc0poCIugYuNIZQgqTxqVUcF5aVsVNYu3U21zWehmQTmVwqN3oTAtp1pyFo e/UjWHdg2K9TXNx4YLT6PFEkpZyIhHj0jbMswcn7RkNDCGSrSzYe2XPNrJN5njpm I8r4K8ShO833X4zm0AhlfaxpYtrjVtW2qCCcEgyRd34rwVrKMMoQxexdr5EM9KBf zsGYmVwRksD37bPMJ0FbNscDUkn4rssXEr74q4FDskodNY0gRj9jCQ8PWz2f+oL0 LYQZshGWSalFBBfAzwJi3Kd3W1o1w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudduledgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeevvdekiefhudfhhfdtkeelgeffudeigfetjeegfffg hfetfeelledugfelleegveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Dec 2021 10:54:31 -0500 (EST) Message-ID: <33b52bd4-5bca-822a-c752-bf94b3bfa5c1@aklaver.com> Date: Tue, 28 Dec 2021 07:54:30 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: psql command failing with error "undefined symbol: PQhostaddr" Content-Language: en-US To: Narendra katlamudi , "pgsql-general@lists.postgresql.org" References: <417257689.1658868.1640694552107.ref@mail.yahoo.com> <417257689.1658868.1640694552107@mail.yahoo.com> From: Adrian Klaver In-Reply-To: <417257689.1658868.1640694552107@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/28/21 04:29, Narendra katlamudi wrote: > Hi Team > > When I use psql to connect a pg server, I am getting below error. Any > solution/pointers? > I have pg versions 11,12,13 installed on my system. OS and version? How where the Postgres versions installed? > > /usr/lib/postgresql/13/bin/psql: symbol lookup error: > /usr/lib/postgresql/13/bin/psql: *undefined symbol: PQhostaddr* > > thanks, > Narendra K -- Adrian Klaver adrian.klaver@aklaver.com