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

Michael Glaesemann grzm at seespotcode.net
Tue Sep 30 08:39:05 EDT 2008


On Sep 30, 2008, at 1:58 , Erik Hollensbe wrote:

> 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.

Thanks, Erik, for the explanation and the concise test case! Off to  
more debugging and the ruby-pg folks :)

Michael Glaesemann
grzm seespotcode net





More information about the ruby-dbi-users mailing list