Showing results for 
Search instead for 
Did you mean: 

Oracle with Merant ODBC on HP-UX 11

Vasudeva Upadhya
Occasional Visitor

Oracle with Merant ODBC on HP-UX 11

When I run the ivtest from the Merant on the ivor816.lib i get the following error:
/usr/lib/ Can't shl_load() a library containing Thread Local Storage: /opt/oracle00/app/oracle/product/8.0.5/JRE/lib/PA_RISC/native_threads/
/usr/lib/ Exec format error
Load of ../lib/ failed, errno(8)=Exec format error

The sqlplus works fine.
I have installed the patches as mentioned by the merant people.
Any ideas?
A. Clay Stephenson
Acclaimed Contributor

Re: Oracle with Merant ODBC on HP-UX 11


I've seen this problem before though not on Oracle but the solution is the same.

1) Make sure that you have patch PHSS_22514 installed.

2) There is a new env variable LD_PRELOAD which augments SHLIB_PATH and addresses Thread Local Storage (TLS) issues. You will need to specify libraries to preload by setting and exporting LD_PRELOAD prior to executing your code.

If your search on "Thread Local Storage" you will find more information.

Regards, Clay
If it ain't broke, I can fix that.