psql error - Mailing list pgsql-admin

From dbx postgres
Subject psql error
Date
Msg-id CAPecLkD4twu14L82La+Q7wAzryexb53psXhKf87F04BmvLTBiA@mail.gmail.com
Whole thread Raw
Responses Re: psql error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Hello,
I have postgres running on my server but when i try to run psql I get the below error
psql: symbol lookup error: psql: undefined symbol: PQconnectdbParams

I have set the environment variable and the data directory but still no luck. Can anyone guide me how I can resolve this?

Thanks,
Azim

pgsql-admin by date:

Previous
From: Mario Mahovlić
Date:
Subject: Very long standby database startup after doing pg_basebackup
Next
From: Tom Lane
Date:
Subject: Re: psql error