Closed martinffx closed 10 years ago
You also need to install the postgres server dev headers.
Thank you, that was nice and simple.
sudo apt-get install postgresql-9.3 postgresql-server-dev-9.3 libpq-dev
Yep!!! Installing postgresql-server-dev-9.3 solved my problem too! Thanx!
Thank you very much!! I install postgresql-server-dev-9.3 and solved the pg gem issue ^_^
+1 (thanks @martinffx )
same here, installing postgresql-dev-9.3 solved my issue as well, thanks for the post!
postgresql-server-dev-9.4 did the trick for me!
Thank you!! installing postgresql-server-dev-9.3 did the trick for me
+1 thank you! (installed postgresql-server-dev-9.3)
need this for snorby on debian 8.6 and postgresql-server-dev-9.4 did the trick for me, also! thank you!
This worked for me: $ sudo chown -R USERNAME:USERNAME /var/lib/gems/2.3.0
postgresql-server-dev-9.4 and postgresql-server-dev-9.3 were not found in the packages list on Ubuntu 16.04 for me. I had to follow the instructions here to add the repository, then install the 9.4 package
@MaxPleaner ubuntu really suck at keeping packages in there repo... it seems 16.04 only has 9.5 in there repos. And the package has changed to https://packages.ubuntu.com/xenial/database/postgresql-server-dev-all
sudo apt-get install postgresql-9.5 postgresql-server-dev-all libpq-dev
Postgresql supported lifecycle
Version Current_minor Supported First release date EOL date
9.6 9.6.3 Yes September 2016 September 2021
9.5 9.5.7 Yes January 2016 January 2021
9.4 9.4.12 Yes December 2014 December 2019
9.3 9.3.17 Yes September 2013 September 2018
9.2 9.2.21 Yes September 2012 September 2017
I can't seem to get
do_postgres
to install on ubuntu 13.10 with postgresql-9.3. I install postgresql and the dev libraries:But when I try to install the
do_postgres
I get the following error:The
pg
installs fine, it just seems to bedo_postgres