[unixODBC-dev] Uniodbc x64 and IBM iSeriesAccess AS400 problems

luca_manganelli at comune.trento.it luca_manganelli at comune.trento.it
Mon Mar 1 09:33:31 GMT 2010


unixodbc-dev-bounces at mailman.unixodbc.org scritti il 01/03/2010 10.08.03

> Hi,

> I'm encounteering problems with unixodbc x64 and the IBM iSeriesAccess
> AS400.

> See this error: (I've done a LD_PRELOAD_NOW=1 or I get a segmentation
> fault)

> manganelll at grass:/usr/etc$ dltest /usr/lib64/libcwbodbc.so
> [dltest] ERROR dlopen: /usr/lib64/libcwbodbc.so: undefined symbol:
> cwbDbConvDecFloat

> manganelll at grass:/usr/etc$ dltest /usr/lib64/libcwbodbc.so SQLConnectW
> [dltest] ERROR dlopen: /usr/lib64/libcwbodbc.so: undefined symbol:
> cwbDbConvDecFloat

> if I use unixodbc 32 bit and iseriesaccess 32 bit, it works.

> Any idea?

Some output from GDB:

- without LD_BIND_NOW=1:

(gdb) r -v cosap
Starting program: /usr/bin/isql -v cosap
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff63cbf71 in PiNlStrFile::loadup() ()
   from /opt/ibm/iSeriesAccess/lib64/libcwbcore.so


- with LD_BIND_NOW=1:

Starting program: /usr/bin/isql -v cosap
[Thread debugging using libthread_db enabled]
[01000][unixODBC][Driver Manager]Can't open lib '/usr/lib64/libcwbodbc.so'
: /usr/lib64/libcwbodbc.so: undefined symbol: cwbDbConvDecFloat
[ISQL]ERROR: Could not SQLConnect




More information about the unixODBC-dev mailing list