On 23 Lip, 14:13, Conrad Taylor <[email protected]> wrote:
> It appears that you cannot reference libpq which is the C application
> programmer's interface to PostgreSQL.  In the above, you have libpq5
> installed on your system but the Ruby gem, ruby-pg, is looking for libpg.

I don't add libpq during installing ruby-pg. It is added automatically
by installation string (extconf.rb).
I think it has sense, because ruby-pg use native library written in C
in order to access PostgreSQL. But first this native library has to be
compiled using libpq...

I also installed on my Ubuntu libpgsql-ruby package, which contains
pg.so in /usr/lib/ruby/1.8/i486-linux.
But I have no idea how to force "gem install ruby-pg" to use pg.so
instead of libpq (if it's correct direction).

Maybe pg.so is this native library, which cannot be linked during
installation ruby-pg?
I yes, then how can I force "gem install ruby-pg" to use this already
installed pg.so, instead of compiling it?

> Finally, I don't know enough about the ruby-pg gem in regards to configuring
> the Kerberos.

In fact I don't use kerberos in my project! But libpq depends on
libkrb :-(, so I have linking errors.

--
Mariusz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to