X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 939243A421C for ; Wed, 3 Nov 2004 11:54:41 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 15720-06 for ; Wed, 3 Nov 2004 11:54:30 +0000 (GMT) Received: from ns2.leveltelecom.net (unknown [213.60.244.12]) by svr1.postgresql.org (Postfix) with ESMTP id 0FB513A3F56 for ; Wed, 3 Nov 2004 11:54:31 +0000 (GMT) Received: from leveltelecom.es (28.red-213-96-226.pooles.rima-tde.net [213.96.226.28]) (authenticated bits=0) by ns2.leveltelecom.net (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id iA3AkT2u030720 for ; Wed, 3 Nov 2004 11:46:30 +0100 Message-ID: <4188C6F2.4010903@leveltelecom.es> Date: Wed, 03 Nov 2004 12:54:26 +0100 From: Carlos Ojea Castro User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 X-Accept-Language: en MIME-Version: 1.0 Cc: pgsql-interfaces@postgresql.org Subject: Re: : Unable to load libsqlpg.so References: Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/1 X-Sequence-Number: 5127 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