Lists: | Postg메이저 토토 사이트SQL |
---|
From: | "miguel lam" <mikkal56(at)hotmail(dot)com> |
---|---|
To: | carlosojea(at)leveltelecom(dot)es, pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: : Unable to load libsqlpg.so |
Date: | 2004-10-29 14:24:34 |
Message-ID: | BAY14-F30bLYluLCTao0003c6b5@hotmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-interfaces |
Hi, there are a environment variable called $LD_LIBRARY_PATH, this
variable contain the path to the shared object, maybe you have installed the
postgres from sources and the library doesnt point to the correct place
where your .so file is, so try to put it like this
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/postgres/lib
by example, see ya.
_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
From: | Carlos Ojea Castro <carlosojea(at)leveltelecom(dot)es> |
---|---|
To: | |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: : Unable to load libsqlpg.so |
Date: | 2004-11-03 11:54:26 |
Message-ID: | 4188C6F2.4010903@leveltelecom.es |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg메이저 토토 사이트SQL |
miguel lam wrote:
>
> Hi, there are a environment variable called $LD_LIBRARY_PATH, this
> variable contain the path to the shared object, maybe you have
> installed the postgres from sources and the library doesnt point to
> the correct place where your .so file is, so try to put it like this
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/postgres/lib
> by example, see ya.
>
> _________________________________________________________________
> MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
>
>
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