Re: Uniodbc x64 and IBM iSeriesAccess AS400 problems

[email protected]
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <OF412A0D70.6D159732-ONC12576D9.00346700-C12576D9.003481F3@comune.trento.it>
[email protected] 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@grass:/usr/etc$ dltest /usr/lib64/libcwbodbc.so
> [dltest] ERROR dlopen: /usr/lib64/libcwbodbc.so: undefined symbol:
> cwbDbConvDecFloat

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


_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.