Re: Unable to load libsqlpg.so

From: Carlos Ojea Castro <carlosojea(at)leveltelecom(dot)es>
To:
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Unable to load libsqlpg.so
Date: 2004-11-03 11:55:31
Message-ID: 4188C733.7060808@leveltelecom.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Buttafuoco 2004-11-03 13:44:02 Fw: float4/float8 regression failure on Alpha Linux
Previous Message Gevik Babakhani 2004-11-03 10:00:08 Contribute to the development of PostgreSQL