64 bit JRE issue when using JDBC-ODBC bridge (164 Views)
Reply
Occasional Visitor
Mahy
Posts: 1
Registered: ‎02-03-2006
Message 1 of 2 (164 Views)

64 bit JRE issue when using JDBC-ODBC bridge

I am using hp IA-64 with 64 bit JRE and 64 bit data direct drivers. I get the following error message :

/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'SQLAllocEnv' in load module '/mahy/JRE-IA64/HP/1.4.2/lib/IA64W/libJdbcOdbc.so'

With 32 bit JRE and 32 bit ODBC drivers, my application works fine. I tried 'nm' command and I get the following results :

With 32 bit JRE, ‘nm’ command gives the following output :

libJdbcOdbc.sl:SQLAllocEnv| |undef |code |

libJdbcOdbc.sl:SQLAllocEnv| 21056|uext |stub |



With 64 bit JRE, ‘nm’ command gives the following output :

[168] | 0| 0|FUNC |GLOB |0| UNDEF|libJdbcOdbc.so:SQLAllocEnv

Looks like I am missing some library. Any suggestions will be greatly appreciated.

Thanks,

- Mahy
Occasional Visitor
Peter Parlewicz
Posts: 1
Registered: ‎03-16-2005
Message 2 of 2 (164 Views)

Re: 64 bit JRE issue when using JDBC-ODBC bridge

I have
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.10-060112-14:28)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.10-060112-19:42-IA64N IA64, mixed mode)

It contains 3 versions of the libJdbcOdbc library, both the 32 bit and 64 bit native Itanium versions do not contain the symbol.
While the PARISC version does.
It looks like this is something that was not implemented?

See below:
PARISC version:
titan(peterpar):/home/peterpar/javains/jre/lib/PA_RISC>nm libJdbcOdbc.sl | grep SQLAllocEnv
SQLAllocEnv | |undef |code |
SQLAllocEnv | 20976|uext |stub |


Itanium versions:
titan(peterpar):/home/peterpar/javains/jre/lib/IA64W>nm libJdbcOdbc.so | grep SQLAllocEnv
[168] | 0| 0|FUNC |GLOB |0| UNDEF|SQLAllocEnv

titan(peterpar):/home/peterpar/javains/jre/lib/IA64N>nm libJdbcOdbc.so | grep SQLAllocEnv
[168] | 0| 0|FUNC |GLOB |0| UNDEF|SQLAllocEnv


Does anyone know if there is any version of a JRE or JDK that contains a working 32bit Native JDBC-ODBC for Itanium ?

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.