Centos 6.9 (ähnlich Frage: Can't find the PostgreSQL client library (libpq) aber, dass man auf MacOS nicht Centos, so dass diese Lösungen funktionierten nichtpg gem install schlägt fehl
Rubin 2.1.8 (versuchte 2.2)
Schienen 4.2. 6 (versuchte 5.0)
postgres 9.3
ich versuche, das pg Juwel zu installieren mit:
gem install pg -- --with-pqlib=/usr/lib64/libpqxx-4.0.so --with-pg-config=/usr/pgsql-9.3/bin/pg_config
Ich versuche immer, es verschiedene Bibliotheken zu füttern, aber die, auf der es stecken bleibt, ist einige PQconnectdb()
Funktion. Fehler unter
Schienen wurden auf diesem Computer mit pg installiert, aber etwas passiert nach einem Update .. Irgendwelche Ideen hier?
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
current directory: /home/myusername/.rvm/gems/ruby-2.1.8/gems/pg-0.14.1/ext
/home/myusername/.rvm/rubies/ruby-2.1.8/bin/ruby -r ./siteconf20170425-12873-191077o.rb extconf.rb --with-pqlib=/usr/lib64/libpqxx-4.0.so --with-pg-config=/usr/pgsql-9.3/bin/pg_config
Using config values from /usr/pgsql-9.3/bin/pg_config
extconf.rb:34: warning: Insecure world writable dir /opt/anaconda in PATH, mode 040777
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for pg_config_manual.h... yes
checking for PQconnectdb() in -l/usr/lib64/libpqxx-4.0.so... no
checking for PQconnectdb() in -llibpq... no
checking for PQconnectdb() in -lms/libpq... no
Can't find the PostgreSQL client library (libpq)
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Installierte pg Bibliotheken: Installed Packages postgresql93.x86_64 9.3.16-1PGDG.rhel6
postgresql93-contrib.x86_64 9.3.16-1PGDG.rhel6
postgresql93-debuginfo.x86_64 9.3.16-1PGDG.rhel6
postgresql93-devel.x86_64 9.3.16-1PGDG.rhel6
postgresql93-docs.x86_64 9.3.16-1PGDG.rhel6
postgresql93-libs.x86_64 9.3.16-1PGDG.rhel6
postgresql93-odbc.x86_64 09.06.0100-1PGDG.rhel6
postgresql93-odbc-debuginfo.x86_64 09.03.0400-1PGDG.rhel6
postgresql93-plperl.x86_64 9.3.16-1PGDG.rhel6
postgresql93-plpython.x86_64 9.3.16-1PGDG.rhel6
postgresql93-pltcl.x86_64 9.3.16-1PGDG.rhel6
postgresql93-server.x86_64 9.3.16-1PGDG.rhel6
postgresql93-tcl.x86_64 2.1.1-1.rhel6
postgresql93-tcl-debuginfo.x86_64 2.1.1-1.rhel6
postgresql93-test.x86_64 9.3.16-1PGDG.rhel6
postgresql libs installiert? – mahatmanich
http://stackoverflow.com/questions/6209797/cant-find-the-postgresql-client-library-libpq ähnliche Probleme hier – mahatmanich
Mögliche Duplikate von [Die PostgreSQL-Clientbibliothek (libpq) kann nicht gefunden werden (http://stackoverflow.com/questions/6209797/cant-find-the-postgresql-client-library-libpq) – mahatmanich