asked 2 years ago viewed 811 times active 2 years ago Get the weekly newsletter! no checking for PQconnectdb() in -lms/libpq... Results logged to /Library/Ruby/Gems/2.0.0/gems/pg-0.17.1/ext/gem_make.out Postgres.app member jakob commented Apr 28, 2014 Did you try adding Postgres.app's bindir to your $PATH? yes checking for pg_config_manual.h... have a peek here
Let me know if it doesn't. Sci fi story about the universe shrinking and it all goes dark (because of mu?) Where can I find FAA procedure amendments? Just add a line like the following to .bash_profile: export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.3/bin 👍 1 Postgres.app member jakob commented Apr 28, 2014 Also, try specifying $ARCHFLAGS: sudo ARCHFLAGS="-arch x86_64" gem install pg I believe that this will solve your problem.
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 ARCHFLAGS="-arch x86_64" gem install pg and that completes successfully but then when I run bundle I still get the same error. I have used the (PostgreSQL Application on my Mac with the following gem install (same as yours above). Checking For Pqconnectdb() In -lpq... No sudo env ARCHFLAGS="-arch x86_64″ gem install pg Reply Florent Delannoy says: December 18, 2011 at 3:47 am Good point!
Join them; it only takes a minute: Sign up Can't find the PostgreSQL client library (libpq) up vote 129 down vote favorite 47 I'm trying to install PostgreSQL for Rails on share|improve this answer answered Oct 21 '14 at 10:06 fruqi 1,0601018 this worked for me –Kevin Davis Nov 12 '14 at 23:25 Even for me. :D –pzin libpq - C Library Next 31.19. http://stackoverflow.com/questions/24130844/cant-install-postgres-ruby-gem share|improve this answer answered Sep 2 '14 at 18:55 boobooninja 146115 add a comment| up vote 1 down vote For ease of management and upgrading, etc.
I tried ... Install Libpq Thanks a lot! –praxmatig Feb 5 '15 at 11:59 1 Saving lives left and right. I found another post here where someone else had the same problem but the solutions noted there didn't work for me. Solution for Mac install PostgreSQL library as described on the PostgreSQL page (opening the *.dmg file will install a bunch of stuff, so don't be afraid of the amount of steps
date/time : 2016-02-09 08:05 version : 18.104.22.16849 compiled with : Delphi XE5 madExcept version : 4.0.12 callstack crc : $56492c7f, $c70d16f6, $c70d16f6 exception number : 1 exception class : EAccessViolation Visit Website This worked for me on Yosemite 10.10.2. Can't Find The Postgresql Client Library (libpq) Mac I have found my pg_config file and tried this command: gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.3/bin/pg_config But I am still getting this error Building native extensions with: '--with-pg-config=/Applications/Postgres.app/Contents/Versions/9.3/bin/pg_config .' This could take Can't Find The Postgresql Client Library (libpq) El Capitan I've been trying to resolve this issue for an hour plus now, and this code is what did it - ARCHFLAGS="-arch x86_64" bundle install –piratetone Apr 5 at 22:40 add a
These Aren't Roasted! http://nyfreewifi.com/can-39-t-find/cannot-find-libpq-fe-h-ubuntu.html why isn't the interaction of the molecules with the walls of the container (in an ideal gas) assumed negligible? Is it acceptable to ask an unknown professor outside my dept for help in a related field during his office hours? Is this map of the galaxy valid according to Stargate SG-1? Can't Find The Postgresql Client Library (libpq) Windows
These Aren't Roasted! Try this: $ ln -s /Library/PostgreSQL/9.1/bin/pg_config /usr/local/bin/pg_config Make sure to replace 9.1 with whatever PostgreSQL version you have installed. I finally took a leap of faith and followed your suggestion to use -lpq and it linked and ran just fine, with no errors. Check This Out How did early mathematicians make it without Set theory?
I've been trying other random incantations from around the net for days :-/ –Sophistifunk Feb 3 '15 at 9:35 1 Works for me too. Libpq-fe.h Mac And I tried just installing PostgreSQL via MacPorts and using your command - didn't work. –Jason Swett Jun 9 '11 at 1:28 1 Updated the above example. Thanks again for your very helpful response.
If those answers do not fully address your question, please ask a new question. For some reason rbenv insists on building ruby 1.9.2-p290 as 32-bit for me, which makes it impossible to link against 64-bit postgres. This command causes the library to run a bunch of tests that validates the installation. Libpq Download You should post this on stackoverflow Reply Gideon Kitili says: July 10, 2015 at 6:13 pm Thanks alot.
yes Using config values from /usr/local/bin/pg_config checking for libpq-fe.h... Do I have to download the library from somewhere...and if so, how? yes Using config values from /Library/PostgreSQL/8.3/bin/pg_config checking for libpq-fe.h... this contact form You may need configuration options.
Thanks Reply Roshambo says: October 6, 2011 at 5:42 pm Saved the day. Ones I checked out the project I have detected that it uses PostgreSQL as their database driver.
© Copyright 2017 nyfreewifi.com. All rights reserved.