Hi

I have successfully built and installed the ruby-postgres extension,
but as soon as I call require 'postgres' I get the following ...

Postgres.rb:4:in `require': libpq.so.2: cannot open shared object
file: No
such
file or directory - /usr/local/lib/ruby/1.6/i686-linux/postgres.so
(LoadError)
        from Postgres.rb:4

However postgres.so _does_ exist ...

chrisr@haydn:~/Sfe/src$ ls
/usr/local/lib/ruby/1.6/i686-linux/postgres.so
/usr/local/lib/ruby/1.6/i686-linux/postgres.so

Thanks for any help

Chris Reay