Error Libpq-fe.h No Such File
Contents |
here for a quick overview of the site Help Center Detailed answers to any libpq-fe.h no such file or directory ubuntu questions you might have Meta Discuss the workings and policies can't find the 'libpq-fe.h header ubuntu of this site About Us Learn more about Stack Overflow the company Business Learn more about
Can't Find The 'libpq-fe.h Header Centos
hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack
Libpq-fe.h No Such File Or Directory Centos
Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up rails install pg - Can't find the 'libpq-fe.h header up vote 17 down vote favorite 1 $ sudo bundle install Result Fetching gem metadata from https://rubygems.org/........... Fetching gem metadata yum install libpq-dev from https://rubygems.org/.. Using rake (0.9.2.2) Using i18n (0.6.1) Using multi_json (1.3.6) Using activesupport (3.2.8) Using builder (3.0.4) Using activemodel (3.2.8) Using erubis (2.7.0) Using journey (1.0.4) Using rack (1.4.1) Using rack-cache (1.2) Using rack-test (0.6.2) Using hike (1.2.1) Using tilt (1.3.3) Using sprockets (2.1.3) Using actionpack (3.2.8) Using mime-types (1.19) Using polyglot (0.3.3) Using treetop (1.4.11) Using mail (2.4.4) Using actionmailer (3.2.8) Using arel (3.0.2) Using tzinfo (0.3.33) Using activerecord (3.2.8) Using activeresource (3.2.8) Using bundler (1.2.1) Using coffee-script-source (1.4.0) Using execjs (1.4.0) Using coffee-script (2.2.0) Using rack-ssl (1.3.2) Using json (1.7.5) Using rdoc (3.12) Using thor (0.16.0) Using railties (3.2.8) Using coffee-rails (3.2.2) Using jquery-rails (2.1.3) Installing pg (0.14.1) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for pg_config... yes Using config values from /usr/bin/pg_config You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application. You need to install postgr
8.1 / 8.2 / 8.3 / 8.4 / 9.0 PostgreSQL 9.1.23 Documentation Prev Up Chapter 31. libpq - C Library Next 31.19. Building libpq Programs To build
Can't Find The 'libpq-fe.h Header Mac
(i.e., compile and link) a program using libpq you need to do all libpq-fe.h download of the following things: Include the libpq-fe.h header file: #include
Edit Fix Released Medium MOTU Edit You need to log in to change this bug's status. Affecting: libpqxx (Ubuntu) Filed here by: Paolo Borelli When: 2005-04-05 Assigned: 2005-04-05 Completed: https://bugs.launchpad.net/bugs/316 2005-09-27 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Fix Released Medium Assigned to Me MOTU (motu) Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series no such Bug Description I'm trying to compile a program which uses libpqxx, but the compile is failing with the following error: In file included from /usr/include/pqxx/util:21, from /usr/include/pqxx/except.hxx:22, from /usr/include/pqxx/except:22, from /usr/include/pqxx/connection_base.hxx... I'm trying to compile a program which uses libpqxx, but the compile is failing with the following error: In file included from /usr/include/pqxx/util:21, from /usr/include/pqxx/except.hxx:22, from /usr/include/pqxx/except:22, from /usr/include/pqxx/connection_base.hxx:27, from /usr/include/pqxx/connection_base:22, from /usr/include/pqxx/connection.hxx:19, no such file from /usr/include/pqxx/connection:22, from /usr/include/pqxx/pqxx:17, from ../lib/powerlib/pgsqllibrary.h:27, from test.cpp:19: /usr/include/pqxx/util.hxx:60:22: libpq-fe.h: No such file or directory which seems to be due to a problem in the package: it looks for libpq-fe.h in the wrong place See original description Add tags Tag help Oliver Grawert (ogra) wrote on 2005-04-10: #1 libpq-fe.h is in the postgresql-dev package. Paolo Borelli (pborelli) wrote on 2005-04-10: #2 paolo@murdock:~$ locate libpq-fe.h /usr/include/postgresql/libpq-fe.h the fact is that it looks like libpqxx is looking for it elsewhere Daniel Holbach (dholbach) on 2005-08-26 Changed in libpqxx: assignee: nobody → motu Andrew Mitchell (ajmitch) on 2005-09-27 Changed in libpqxx: status: New → Fixed teledyn (garym-teledyn) wrote on 2008-12-04: #3 what do we do in 8.04 Ubuntu Server? "No candidate version found for postgresql-dev" :( Luisuntu (luismariaaguirre) wrote on 2009-07-09: #4 In 8.04: apt-get install libpq-dev The file is located at: /usr/include/postgresql/libpq-fe.h Compiling Yate2, I had to change the module/Makefile: From: INCLUDES := -I.. -I.. to: INCLUDES := -I.. -I/usr/include/postgresql See full activity log To post a comment you must log in. Report a bug This report contains Public information Edit Everyone can see this information. Mark as duplicate Conv