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 1n2UNB-0003VN-41 for pgsql-general@arkaria.postgresql.org; Wed, 29 Dec 2021 08:31:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n2UN9-0000Wz-6F for pgsql-general@arkaria.postgresql.org; Wed, 29 Dec 2021 08:31:47 +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 1n2UN7-0000Wo-VT for pgsql-general@lists.postgresql.org; Wed, 29 Dec 2021 08:31:46 +0000 Received: from sonic309-19.consmr.mail.sg3.yahoo.com ([106.10.244.82]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n2UN5-0006p1-97 for pgsql-general@lists.postgresql.org; Wed, 29 Dec 2021 08:31:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s2048; t=1640766697; bh=Z4LTOBoROv1ALODVgcYxwkVKJZxEbDvVPhi3aT0Yk7I=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=olqC5Bx96OT1FCaCGGs7091nNGE8MU9lm4aO4SBl6L9/HI19q43LCRrAOGXH4nGk7VinAS5JkniPhbyI0GyRzJT9pPDhGYzb0Kcnndf+OKtGH3/F4YmJKTrYGtYYSfKNjlxwj9c9fhtD5oW+xjbuup+zbMZfXQfh1UQpeeYzXU/A+B6/9YCzYrvqkhQ721oHS+K6zihtcMLsej06MiSCKvpy8iZi9HuWX+sIA2ZJpyOOua23Z3G62gmkxab1glqvKe0w9+ShqO2CxxaxOTUl7pKYAZE8bsqqtr7BNfj0y7T1XxnupbVAr8Ryx8e7D+LO2hoyBINQY3lo9LV0rnH2pA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640766697; bh=t+dzc1jZlFrweeRSRLNKet4LVMTpsB2Ux5f1yJmLcuP=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=ZmafBdD+Y+AvXvkYRGlIWGxdo7rPDM6TXMwAOaHAEPkucoNElmr7tJkjUKQOtzwAbHX5dg3bnPOlCyrsaAia7pKrhlj0rS58dXEdTm8nJcTLkYCsloxjFO2VvcmnKDmRbq3PMP94lIZ5TLgyOlxzwllbHLrCfd9dxxulIxFGECobgYosoNaEnOmX2xN6ZjSREFojb7Wuc/3uhvvgkdOWPyqGs6PgHYlsz9egE9LCFWVFitGER3SMN5KWVFe+zHYPpCB8BkaACWeSeqCUc0H0KJWkvmlFuJ+yQWluwQgz6Z3NE3RLSOGYGsDU6pz/l4L0fXrSei6cB0aveRQjfg0hMA== X-YMail-OSG: LomLHFkVM1mC3sQkNzMe4W9cArr7JBj3FHgw07GspFYzx38T_elli.bmmZ2taEK 7122P.lVBNeXHaBhHzIYcMbOZS1g5ScD4jI77GPksnzzWfsz64gOe0YnCJdtitlQxq1NJmM8Rmw6 NSrUoJa3RvzGcHtJtXS3rnVZoLf6E4KIozajKdshLZNLLb43Y2kV9eexwR3x9DJfk.EZr4mu5_ny ThsNW.dSNawZcCjIwm9bt0C5HyJLq8HJbq3naOPGUB32MKYnCEbpF.mSXe_0lHDBkqODmwxdH3L9 wbW.L6CebcisdtURqh2kM8Fl.jEuGaV85LNOv9ou.cC7_z0rxexZdvieL4Nob9STKw1B4RnOCVfr X6J5tOYIV2ef.4fNr8wrXWmR9WV_3wwzGBH5ZLe55eNmhKNwvFM_d2kV.yhRlUXbdfVRsiPAeraV fZod6pFiLpIaJErU5ZUJrJizrJFhCv0LJkZAtJ1bxW4wDcBoy3hJXdh3fBXJa60Z3j6_FFc04oXL 86f8R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RrfVFXSyqSYtoOhWHZEAb1N7_XdlYrrdSo3_SSoWoRX89.oL0cjBnLimXHs7HATNE0tbYVG LI4y_L6RQlDfckh_n3GKsSf4fXd3s7gURyQhYPyqtfNUu4c.7WKqlBzVs19EiB5b5JjvtC2AVcAQ S7JIg.DZPYZZ4l_8lWWvI50nOhtilbxOyjmmOBaOVX0erdtOREawepNOH_aU4349xC4cwiKuzWmJ Db8yyD2nnmaxrl4DXRRrMGQ6DcjZ_otS09VuGkX2a7ONl.gezoc8u9rH1T39kYl5_WSAt8fZbDZY 0EcfOYxsJjBKKoTfpHipvuM7pf0OU.1rrwYJTjXrtA5C4m1_JGPtOnxzEdAVoAybcn3Vc15jW17. 21PHQZ3WaoE1vNg9zE9tXPQKFIlWE9_zfm6mc7GSiMFy0XRRAk1UR_pmQw_oYsFszzEymt9fcCUG 954l_rS6Y4raizbv8ykZfP61W0IB05C6M.gz0IJ85zeToPx6EwgX2HpFMjuLMwQfQGdjmDeY7VBN De3lz_Qf_8cTpSnjuweoR0z2XfOTCdUmIr.EAsKWa7KKeOsSfZCzw1_pvyjtwXtdX_Xpov5eQDvd V6ZUaeoZRYu3MrVm1tlyF8zMtCrFLEo1izYvnxHRSpdYDow6BdGqGvNJLmlBWAM3tKBYEblqYdJK ovst6I3SoOVjzcOgEXzrFMFEXINdkHw7qUEfdIjlMnAlHhs_DZp1SfjFHYlpYyAKOnbNgBY_EJap 9LTkP9Q3pyt9WyqlarG8TINgP9vlWsHpuM2YWfDuzIhstpvrduvNs3is9gg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.sg3.yahoo.com with HTTP; Wed, 29 Dec 2021 08:31:37 +0000 Date: Wed, 29 Dec 2021 08:31:32 +0000 (UTC) From: Narendra katlamudi To: Pavel Stehule Cc: "pgsql-general@lists.postgresql.org" Message-ID: <1789328895.1847764.1640766692783@mail.yahoo.com> In-Reply-To: References: <417257689.1658868.1640694552107.ref@mail.yahoo.com> <417257689.1658868.1640694552107@mail.yahoo.com> Subject: Re: psql command failing with error "undefined symbol: PQhostaddr" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1847763_1944463603.1640766692781" X-Mailer: WebService/1.1.19498 YMailNorrin Content-Length: 5035 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ------=_Part_1847763_1944463603.1640766692781 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hey Team, Thanks for quick responses. But yeah, seems on my system Libpq.so* files we= re not present in the usual library path.=C2=A0After setting LD_LIBRARY_PAT= H to consider the location about libpg.so*, the psql=C2=A0 command started = working. thanks, On Tuesday, 28 December, 2021, 06:23:30 pm IST, Pavel Stehule wrote: =20 =20 Hi =C3=BAt 28. 12. 2021 v=C2=A013:29 odes=C3=ADlatel Narendra katlamudi napsal: Hi Team When I use psql to connect a pg server, I am getting below error. Any solut= ion/pointers? I have pg versions 11,12,13 installed on my system. /usr/lib/postgresql/13/bin/psql: symbol lookup error: /usr/lib/postgresql/1= 3/bin/psql: undefined symbol: PQhostaddr Looks like a bad (too old) version of libpq library. https://stackoverflow.com/questions/28123212/postgres-9-4-0-undefined-symbo= l-pqhostaddr Regards Pavel =20 thanks,Narendra K =20 ------=_Part_1847763_1944463603.1640766692781 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey Team,

Thanks for quick responses. But yeah, seems o= n my system Libpq.so* files were not present in the usual library path.&nbs= p;
After setting LD_LIBRARY_PAT= H to consider the location about libpg.so*, the psql  command started = working.

thanks,

=20
------=_Part_1847763_1944463603.1640766692781--