fatal error postgresql/libpq-fe.h no such file or directory Kenton Tennessee

Address 227 Oil Well Rd, Jackson, TN 38305
Phone (731) 427-8571
Website Link http://www.atacpa.net
Hours

fatal error postgresql/libpq-fe.h no such file or directory Kenton, Tennessee

How to solve the old 'gun on a spaceship' problem? to: INCLUDES := -I.. -I/usr/include/postgresql See full activity log To post a comment you must log in. Determine if a coin system is Canonical Near Earth vs Newtonian gravitational potential How to solve the old 'gun on a spaceship' problem? share|improve this answer answered Jun 22 '13 at 11:34 Javid Dadashkarimi 695 add a comment| up vote 0 down vote This worked for me: sudo gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.4/bin/pg_config share|improve

yes checking for stdlib.h... Privacy Policy | About PostgreSQL Copyright © 1996-2016 The PostgreSQL Global Development Group current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your 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 share|improve this answer answered Feb 17 '15 at 14:16 joh-mue 706 add a comment| up vote 2 down vote On FreeBSD (9.1) the necessary package is /usr/ports/database/postgresql-server* which when installed will

checking for suffix of object files... src/CMakeFiles/sqlpp-postgresql.dir/build.make:62: recipe for target 'src/CMakeFiles/sqlpp-postgresql.dir/bind_result.cpp.o' failed make[2]: *** [src/CMakeFiles/sqlpp-postgresql.dir/bind_result.cpp.o] Error 1 CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/sqlpp-postgresql.dir/all' failed make[1]: *** [src/CMakeFiles/sqlpp-postgresql.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Happy now :) share|improve this answer answered Aug 25 '14 at 20:21 ether_joe 238111 add a comment| up vote 1 down vote The location of libpq-fe.h depends on where your Postgres This looks like there was a private copy of libpq-fe.h in the postgres-...

Installing the pg gem works as follows: ~ > sudo port install postgresql-devel ... yes checking for sys/types.h... share|improve this answer answered Nov 27 '14 at 15:09 Curlew 539525 worked for me on Mac: brew install postgresql -devel . Cyberpunk story: Black samurai, skateboarding courier, Mafia selling pizza and Sumerian goddess as a computer virus Why are empty blocks not all the same size?

yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... I did run brew update; brew upgrade after the Yosemite install to get the latest versions of packages I had installed previously. yes checking for ngettext in libc... Dependencies for visimeet Fedora 18 how to solve error usr/lib/ld cannot find -ll *-static library packages without -fPIC Fedora 22 install package problem Relocation error when starting gnome control center Can't

Pg 9.2 and pg 9.3 where installed. Check the mkmf.log file for more details. yes checking libintl.h usability... Use the 30 daily voting points that you get!

It is built on WordPress, hosted by Liquid Web, and the caches are served by CloudFlare CDN. How to solve the old 'gun on a spaceship' problem? trying anyway. Is it OK for graduate students to draft the research proposal for their advisor’s funding application (like NIH’s or NSF’s grant application)?

yes checking for gcc option to accept ISO C89... Adv Reply April 9th, 2011 #2 robotz421 View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Jan 2011 Beans 35 Re: gforth include file problem hmm Was the Balrog of Moria aware of the presence of the One Ring during the events of Khazad-dûm? The time now is 04:18 PM.

User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. Make sure that `gem install pg -v '0.14.1'` succeeds before bundling. Mkyong.com is created, written by, and maintained by Yong Mook Kim, aka Mkyong. more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

yes checking for PACKAGE... you must run this command while logged-in as the user who will be running the subsequent bundle command. cszawisza commented May 4, 2016 My distribution holds postgres headers in postgresql directory (not in pgsql like you have, probably) you need to change the path to pgsql/libpq-fe.h (or something similar sudo apt-get install libpq-dev share|improve this answer edited Mar 14 at 16:01 answered Nov 3 '15 at 18:32 smishra 34428 add a comment| up vote 2 down vote I was able

Is it possible to have a planet unsuitable for agriculture? Installing something from homebrew is a waste in this case. A Shadowy Encounter Any better way to determine source of light by analyzing the electromagnectic spectrum of the light Make space between rows constant Is there any job that can't be Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 7 Star 12 Fork 9 matthijs/sqlpp11-connector-postgresql Code Issues 5 Pull requests 0 Projects

Include PostgreSQL library pathwith -L/usr/lib/postgresql/8.3/lib/, this all PostgreSQL configuration information can get it from "pg_config".But I still hit the same error againundefined reference to `PQfinish' undefined reference to `PQconnectdb" [email protected]:~/Desktop/index$ gcc Is accuracy binary? Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs [SOLVED] gforth I have libpq-dev installed and I can find libpq-fe.h in /usr/include/postgresql.

You may need configuration options. Pronuncia strana della "s" dopo una "r": un fenomeno romano o di tutta l'Italia? Adv Reply Quick Navigation Packaging and Compiling Programs Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support none required checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept

If it exists, it will be in the include directory of your Postgres install. $ locate libpq-fe.h /Library/PostgreSQL/9.1/include/libpq-fe.h The bin directory, which contains pg_config will be in the same directory as I installed postgres 9.3 like so: yum install http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redh‌at93-9.3-1.noarch.rp‌m && yum install postgresql93 postgresql93-contrib postgresql93-server postgresql93-devel –JoePasq Jan 16 '15 at 18:52 1 you can also write as gem install share|improve this answer answered Jan 22 '15 at 15:29 community wiki jelder add a comment| up vote 4 down vote I recently upgraded to Yosemite and was having difficulty building the With the passing of Thai King Bhumibol, are there any customs/etiquette as a traveler I should be aware of?

Prev Home Next Behavior in Threaded Programs Up Example Programs Submit correction If you see anything in the documentation that is not correct, does not match your experience with the particular Browse other questions tagged ruby-on-rails ruby-on-rails-3 postgresql rails-postgresql pg or ask your own question. trying anyway. In the future, you can use yum to try and find a match for a missing file.

Installing yum install postgresql-devel resolves the error too. you can find this with the command: $ sudo find / -iname pg_config after, save the file: $ sudo chmod +x /etc/profile.d/ruby.sh and try execute your command again. share|improve this answer answered Nov 2 '14 at 12:21 Martin Streicher 8711816 add a comment| up vote 4 down vote Just for the record: Rails 4 app in OS X with no checking for suffix of executables...

This should be simple, but I've wasted several hours on this already... Copyright © 2008-2016 Mkyong.com, all rights reserved.