NOTE: the above-linked webpage includes a section 2.2 ("Requirements") which lists eight required software packages: PostgreSQL 8.4 GNU C compiler (gcc) GNU Make (gmake or make) Proj4 reprojection library, version 4.6.0 Use locate (http://en.wikipedia.org/wiki/Locate_%28Unix%29) to find the libpq-fe.h file on your machine. I am now trying to install PostGIS, which is an extension to PostgreSQL used for Geographical Information Systems capabilities. share|improve this answer edited Oct 21 at 17:18 Peter Mortensen 10.3k1370107 answered Oct 20 '14 at 16:21 Cynthia Sanchez 1195 add a comment| up vote 2 down vote On FreeBSD (9.1) have a peek here
yes checking for PQconnectdb() in -lpq... This is what worked for me. Is there a word for turning something into a competition? "PermitRootLogin no" in sshd config doesn't prevent `su -` Palindrome polyglot Why are password boxes always blanked out when other sensitive You can find this with the command: $ sudo find / -iname pg_config Save the file: $ sudo chmod +x /etc/profile.d/ruby.sh and try to execute your command again.
share|improve this answer edited Oct 21 at 17:09 Peter Mortensen 10.3k1370107 answered Jan 16 '12 at 23:34 Michael Durrant 46.7k46188299 3 Right, the Ruby pg gem wraps the usual PostgreSQL why isn't the interaction of the molecules with the walls of the container (in an ideal gas) assumed negligible? What is the Problem with libpq-fe.h? Can't Find The Postgresql Client Library (libpq) For me, it's env ARCHFLAGS="-arch x86_64" gem install pg -v '0.17.1' -- --with-pg-config=/opt/local/lib/postgresql91/bin/pg_config –Dawei Yang Apr 29 '14 at 3:18 17 And if you use "Postgres.app", under mavericks, you should
Browse other questions tagged ruby-on-rails ruby-on-rails-3 postgresql rubygems or ask your own question. Wait... That’s why it shows the error message. http://stackoverflow.com/questions/6209797/cant-find-the-postgresql-client-library-libpq Instead, you can run the utility pg_config to find out where the header files are on the local system: $ pg_config --includedir /usr/local/include Failure to specify the correct option to the
Graph Chromatic Number Problem Is there a way to cast spells with a range of self on other targets? This package provides the pg_config binary which is most likely what you were missing. Can't Find The 'libpq-fe.h Header Ubuntu krlmlr closed this Nov 10, 2015 dckc commented Nov 19, 2015 I'm using SLES 11, and I get the same symptoms. Can't Find The 'libpq-fe.h Header Mac Find out where PostgreSQL is installed, and delete it, Then brew install postgresql again, brew link postgresql gem install pg share|improve this answer edited Oct 21 at 17:28 Peter Mortensen 10.3k1370107
share|improve this answer edited Nov 23 '12 at 5:38 Marc-André Lafortune 51.4k10115142 answered Sep 21 '11 at 9:44 Siddhartha Mukherjee 4,3612159 2 I had to add the version "env ARCHFLAGS="-arch http://nyfreewifi.com/can-39-t-find/cannot-find-libpq-fe-h-ubuntu.html WORKED! Storage of a material that passes through non-living matter When is it invalid to use taylor series? This could take a while... Libpq-fe.h No Such File
Was a massive case of voter fraud uncovered in Florida? Thats it! Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the http://nyfreewifi.com/can-39-t-find/cannot-find-libpq.html Solve the Laplace equation Can a pulse jet be used on a light GA aircraft?
It seems the standalone installer is 32-bit, so you want to set your arch flags to 32-bit even if your machine is 64-bit. Libpq-fe.h No Such File Or Directory Centos What are the TeX editors able to compile just a snippet of a .tex file? Was a massive case of voter fraud uncovered in Florida?
proof of log(xy) = log (x) + log (y) Teenage daughter refusing to go to school How can a Cleric be proficient in warhammers? You signed out in another tab or window. Why do I never get a mention at work? Libpq-fe.h Download This could take a while...
Graph Chromatic Number Problem Where can I find FAA procedure amendments? Just replace the path with the right location for your libpq-fe.h share|improve this answer edited Oct 21 at 17:07 Peter Mortensen 10.3k1370107 answered Jan 12 '12 at 6:52 David Pelaez 793811 Check the mkmf.log file for more details. this contact form Then, update its database using apt-file update (this can be run as normal user).
The difference between "an old,old vine" and "an old vine" Tank-Fighting Alien What does "short brake" mean? gem install bundler share|improve this answer answered Dec 2 '15 at 5:21 mchapman17 384 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up libpq-dev package. –mu is too short Jan 17 '12 at 3:12 Thanks mu I hope you're getting snow :) –Michael Durrant Jan 17 '12 at 3:59 1 Worked How can a Cleric be proficient in warhammers?
https://gist.github.com/Tab3r/3076516 Follow it.
© Copyright 2017 nyfreewifi.com. All rights reserved.