Coder Social home page Coder Social logo

Comments (15)

martinffx avatar martinffx commented on August 19, 2024 10
sudo apt-get install postgresql-9.3 postgresql-server-dev-9.3 libpq-dev

from do.

martinffx avatar martinffx commented on August 19, 2024 1

@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

from do.

dbussink avatar dbussink commented on August 19, 2024

You also need to install the postgres server dev headers.

from do.

martinffx avatar martinffx commented on August 19, 2024

Thank you, that was nice and simple.

from do.

supadoctor avatar supadoctor commented on August 19, 2024

Yep!!! Installing postgresql-server-dev-9.3 solved my problem too! Thanx!

from do.

zenith-777 avatar zenith-777 commented on August 19, 2024

Thank you very much!! I install postgresql-server-dev-9.3 and solved the pg gem issue ^_^

from do.

shadowbq avatar shadowbq commented on August 19, 2024

+1 (thanks @martinffx )

from do.

gitshiva avatar gitshiva commented on August 19, 2024

same here, installing postgresql-dev-9.3 solved my issue as well, thanks for the post!

from do.

gregory avatar gregory commented on August 19, 2024

postgresql-server-dev-9.4 did the trick for me!

from do.

shkurkin avatar shkurkin commented on August 19, 2024

Thank you!! installing postgresql-server-dev-9.3 did the trick for me

from do.

aneta-bielska avatar aneta-bielska commented on August 19, 2024

+1 thank you! (installed postgresql-server-dev-9.3)

from do.

jensensen avatar jensensen commented on August 19, 2024

need this for snorby on debian 8.6 and
postgresql-server-dev-9.4 did the trick for me, also! thank you!

from do.

mdbxz avatar mdbxz commented on August 19, 2024

This worked for me:
$ sudo chown -R USERNAME:USERNAME /var/lib/gems/2.3.0

from do.

MaxPleaner avatar MaxPleaner commented on August 19, 2024

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

from do.

shadowbq avatar shadowbq commented on August 19, 2024

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

https://www.postgresql.org/support/versioning/

from do.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.