It was my mistake from the beginning. I installed postgresql-server-dev-9.5 and it fixed my problem. After this I ran " sudo find / -name pg_config?" and it showed both 9.4 and 9.5
On Mon, Feb 15, 2016 at 5:13 PM, Payal Singh <payal@omniti.com> wrote:
What's the output of sudo find / -name pg_config? Also, can you check the pg_config in 9.4 directory is version 9.4 and not 9.5? (pg_config --version)
Payal Singh, Database Administrator,
OmniTI Computer Consulting Inc. Phone: 240.646.0770 x 253
On Mon, Feb 15, 2016 at 6:17 AM, Shmagi Kavtaradze <kavtaradze.s@gmail.com> wrote: > When I first installed postgres it was 9.4 vesrion. Then I uninstalled 9.4 > and installed 9.5. I wanted to install extension, but it was installing in > 9.4 directory. When I started searching for the solution, turned out that > pg_config I have is in "/usr/lib/postgresql/9.4/bin/pg_config".
What OS?
How did you install 9.4? How did you (attempt to) uninstall 9.4? How did you (attempt to) install 9.5? What makes you think 9.5 is currently successfully installed? -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan Consulting Availability : Silicon Valley or remote