Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 8DC56632875 for ; Tue, 30 Mar 2010 14:20:37 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 42015-06-3 for ; Tue, 30 Mar 2010 17:20:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mail.postgresql.org (Postfix) with ESMTP id 4596E636A1A for ; Tue, 30 Mar 2010 13:56:40 -0300 (ADT) Received: by ey-out-2122.google.com with SMTP id d26so966740eyd.33 for ; Tue, 30 Mar 2010 09:56:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=WNmOP4z2lsaokurfPCy9uQ4KHmVFVkSMfWFDSpx4FiQ=; b=GjHIKdYDBxsi+2M5Cosv9AEuzsLLiGgDy694x/0aJwLsFO1UfligvFIx4/eGHmxZP2 JacNePiNjuzfIq2F8Qkyn9cB6nEmAk5w3R2PncNOSQ0lG7gMIjw3iD6hls1StD+4Rr40 osjFKZX/k7fp8efWDdapccw6T8wuFpK9oHDeQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rqWxPrDtAhK55JHh/vZxMW2i3hvErgttxd8p/u+14kZVh83YEARkDkUCtgMCCt0Ioy Me21g9ZzVKYLK0GllsXJSA/KauUBT2vsjrzzgyWSCq1xqc7Bv+iZ66Sb7OFsXwoHnY/z NKFnbUpM2r5O1dMqEU0dv0cdegHuofXZ6jqko= MIME-Version: 1.0 Received: by 10.216.12.21 with HTTP; Tue, 30 Mar 2010 09:56:38 -0700 (PDT) Date: Tue, 30 Mar 2010 12:56:38 -0400 Received: by 10.216.86.212 with SMTP id w62mr1686084wee.131.1269968198820; Tue, 30 Mar 2010 09:56:38 -0700 (PDT) Message-ID: Subject: iodbctest: fatal: relocation error From: raja agireddy To: pgsql-odbc@postgresql.org Content-Type: multipart/alternative; boundary=0016e6d9a3a25df5180483078322 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.368 tagged_above=-10 required=5 tests=AWL=0.370, BAYES_20=-0.74, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201004/1 X-Sequence-Number: 10225 --0016e6d9a3a25df5180483078322 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have installed the 64 bit version of libiodbc-3.52.7 and psqlodbc-08.04.0200 with the following configure commands: ./configure CC=gcc CFLAGS='-m64 -R/usr/sfw/lib/64' --prefix=/usr/tmp/raja/psqliDBC --with-iodbc=/usr/tmp/raja/iodbc/ --without-libpq ./configure CC=gcc CFLAGS='-m64 -R/usr/sfw/lib/64' --prefix=/usr/tmp/raja/iodbc --with-iodbc-inidir=/usr/tmp/raja/iodbc/etc I am able to see successful connection with iodbcadm-gtk but when I try with iodbctest or iodbctestw I get the following error: iODBC Demonstration program This program shows an interactive SQL processor Driver Manager: 03.52.0709.0909 1: SQLDriverConnect = [iODBC][Driver Manager]ld.so.1: iodbctest: fatal: relocation error: file /u04/odbc/psqlodbc/lib/psqlodbcw.so: symbol freeaddrinfo: referenced symbol not found (0) SQLSTATE=00000 2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003 I configured the hsodbc from oracle and there the connection just hangs. I cannot see anything in the trace Thanks, Raja --0016e6d9a3a25df5180483078322 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I have installed the 64 bit version of=A0libiodbc-3.= 52.7 and=A0psqlodbc-08.04.0200 with the following configure commands:
=

./configure CC=3Dgcc CFLAGS=3D'-m64 -R/usr/sfw= /lib/64' --prefix=3D/usr/tmp/raja/psqliDBC --with-iodbc=3D/usr/tmp/raja= /iodbc/ --without-libpq

./configure CC=3Dgcc CFLAGS=3D'-m64 -R/usr/sfw/lib/= 64' --prefix=3D/usr/tmp/raja/iodbc --with-iodbc-inidir=3D/usr/tmp/raja/= iodbc/etc=A0

I am able to see successful connectio= n with=A0iodbcadm-gtk
but when I try with=A0iodbctest or=A0iodbctestw

I get the following error:

iODBC Demonstra= tion program
This program shows an interactive SQL processor
Driver Manager: 03.52.0709.0909
1: SQLDriverConnect =3D [iOD= BC][Driver Manager]ld.so.1: iodbctest: fatal: relocation error: file /u04/o= dbc/psqlodbc/lib/psqlodbcw.so: symbol freeaddrinfo: referenced symbol not f= ound (0) SQLSTATE=3D00000
2: SQLDriverConnect =3D [iODBC][Driver Manager]Specified driver could = not be loaded (0) SQLSTATE=3DIM003

I configured th= e hsodbc from oracle and there the connection just hangs. I cannot see anyt= hing in the trace

Thanks,
Raja

--0016e6d9a3a25df5180483078322--