From: raja agireddy <tagireddy@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: iodbctest: fatal: relocation error
Date: Tue, 30 Mar 2010 12:56:38 -0400
Message-ID: <bbf77681003300956l5c117d8na2d418e979e2e7b3@mail.gmail.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: tagireddy@gmail.com
Subject: Re: iodbctest: fatal: relocation error
In-Reply-To: <bbf77681003300956l5c117d8na2d418e979e2e7b3@mail.gmail.com>
References: <bbf77681003300956l5c117d8na2d418e979e2e7b3@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox