[ruby-dbi-users] DBI 0.4.0 & DBD::Pg gem installation issues

Erik Hollensbe erik at hollensbe.org
Tue Sep 30 01:58:09 EDT 2008


On Monday 29 September 2008 22:41:55 Erik Hollensbe wrote:
> On Monday 29 September 2008 12:31:55 Michael Glaesemann wrote:
> >
> > Any help or further debugging pointers would be much appreciated.
>
> It looks like the 'pg' library did not install correctly, or for some
> reason it can't dlopen libpq. I just throw bugs in their direction
> occasionally, and do not work on the project itself.
>
> http://rubyforge.org/projects/ruby-pg should be the place to report such
> things; be certain to give them the output of ldd and a test case that
> doesn't involve DBI, as it seems DBI's shoddy error reporting is the only
> issue here (which has a long, outstanding ticket that I should get around
> to resolving).

Eh, to elaborate:

ruby -rubygems -e 'require "pg"' should be enough to prove your failure case.

-Erik


More information about the ruby-dbi-users mailing list