Deirdre Saoirse Moen

Sounds Like Weird

MacBookPro Postgres tip

Posted by Deirdre Tue, 14 Nov 2006 22:54:00 GMT

If you've tried to install the postgres ruby gem like so:

sudo gem install postgres -- --with-pgsql-include-dir=/usr/local/pgsql/include --with-pgsql-lib-dir=/usr/local/pgsql/lib

...and you get the error:

checking for PQsetdbLogin() in -lpq... no Could not find PostgreSQL libraries: Makefile not created * extconf.rb failed *

...then it's possible you didn't compile postgres with the --with-openssl option. Doing so made everything work perfectly.

Posted in  | Tags , ,  | no comments