Unable to load libsqlpg.so

Started by Carlos Ojea Castroover 21 years ago2 messageshackers
Jump to latest
#1Carlos Ojea Castro
carlosojea@leveltelecom.es

Hello:

I have the same problem as Welly, when try to connect PostgreSQL it cause
an error "unable to load libsqlpg.so".
I am using postgresql 7.4.1 and Debian Sarge with kernels 2.4.27 and 2.6.8-1.

A few weeks ago I get the connection work using Debian Woody with kernel 2.20,
but I had to make the simbolic link /usr/local/pgsql/lib/libpq.so to point at
libpq.so.2.2

Now, with Debian Sarge this link doesn't make the connection work anymore,
maybe I need to use another version of libpq.

Anyone knows to solve this problem?

thanks,
Carlos

#2Carlos Ojea Castro
carlosojea@leveltelecom.es
In reply to: Carlos Ojea Castro (#1)
Re: Unable to load libsqlpg.so

Carlos Ojea Castro wrote:

Hello:

I have the same problem as Welly, when try to connect PostgreSQL it cause
an error "unable to load libsqlpg.so".
I am using postgresql 7.4.1 and Debian Sarge with kernels 2.4.27 and
2.6.8-1.

A few weeks ago I get the connection work using Debian Woody with
kernel 2.20,
but I had to make the simbolic link /usr/local/pgsql/lib/libpq.so to
point at
libpq.so.2.2

Now, with Debian Sarge this link doesn't make the connection work
anymore,
maybe I need to use another version of libpq.

Anyone knows to solve this problem?

thanks,
Carlos

Finally I get the connection working in Debian Sarge, kernel 2.4.27
doing this:
1.- Install libpgsql2.7.2.1-2woody6_i386.deb
2.- in /usr/local/kylix3/bin make the link: ln -s
/usr/local/pgsql/lib/libpq.so libpq.so
3.- in /usr/local/pgsql/lib make the link: ln -s libpq.so.2.2 libpq.so

However, doing that in Debian Sarge, kernel 2.6.8-1 results in an error
'Invalid username/password' when I try to connect to the database.
Any ideas for Debian Sarge, kernel 2.6.8-1?

Thanks,
Carlos