iodbctest: fatal: relocation error

iodbctest: fatal: relocation error

am 30.03.2010 18:56:38 von raja agireddy

--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

iv>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--