Обсуждение: Unable to load libsqlpg.so

Поиск
Список
Период
Сортировка

Unable to load libsqlpg.so

От
Carlos Ojea Castro
Дата:
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




Re: Unable to load libsqlpg.so

От
Carlos Ojea Castro
Дата:
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