Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. dpkg --get-selections | grep postgre
  2.  
  3. postgresql
  4. postgresql-9.1
  5. postgresql-client
  6. postgresql-client-9.1
  7. postgresql-client-common
  8. postgresql-common
  9. postgresql-contrib
  10. postgresql-contrib-9.1
  11. postgresql-server-dev-9.1
  12. postgresql-server-dev-all
  13. libpq-dev
  14. libpq5
  15.  
  16. ERROR: Error installing pg:
  17. ERROR: Failed to build gem native extension.
  18.  
  19. /home/vedarthk/.rvm/rubies/ruby-1.9.3-p362/bin/ruby extconf.rb
  20. checking for pg_config... yes
  21. Using config values from /usr/bin/pg_config
  22. checking for libpq-fe.h... yes
  23. checking for libpq/libpq-fs.h... yes
  24. checking for pg_config_manual.h... yes
  25. checking for PQconnectdb() in -lpq... no
  26. checking for PQconnectdb() in -llibpq... no
  27. checking for PQconnectdb() in -lms/libpq... no
  28. Can't find the PostgreSQL client library (libpq)
  29.  
  30. gem install pg -- --with-pg-include=/usr/include/postgresql/libpq --with-pg-lib=/usr/lib/postgresql/9.1/lib
  31.  
  32.  
  33. gem install pg -- --with-pg-include=/usr/include/postgresql --with-pg-lib=/usr/lib/postgresql/9.1/lib
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement