Operating System - Linux
1748169 Members
4224 Online
108758 Solutions
New Discussion юеВ

Re: Cannot dlopen load module

 
Ankit Grover
Frequent Advisor

Re: Cannot dlopen load module

Hi Dennis,

After trying out your solution, it is using libpthread.so from new location(chaeced thru ldd), Now, the error has changed to:
Load error : file 'rtsora.so'
error code: 198, pc=18, call=1, seg=0
198 Load failure (Unsatisfied code symbol 'slcdfree' in load module '/oracle/product/9.2/lib32/libclntsh.so.9.0')

/fns/g/r/int >ldd /oracle/product/9.2/lib32/libclntsh.so.9.0
libwtc9.so => /oracle/product/9.2/lib32/libwtc9.so
librt.so.1 => /usr/lib/hpux32/librt.so.1
libnss_dns.so.1 => /usr/lib/hpux32/libnss_dns.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libpthread.so.1 => /fns/g/r/int/libpthread.so.1
libCsup.so.1 => /usr/lib/hpux32/libCsup.so.1
libunwind.so.1 => /usr/lib/hpux32/libunwind.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libuca.so.1 => /usr/lib/hpux32/libuca.so.1
Dennis Handly
Acclaimed Contributor

Re: Cannot dlopen load module

>the error has changed to:
Load error : file 'rtsora.so'
error code: 198, pc=18, call=1, seg=0
198 Load failure (Unsatisfied code symbol 'slcdfree' in load module '/oracle/product/9.2/lib32/libclntsh.so.9.0')

When you changed LD_LIBRARY_PATH to point to the dummy copy of libpthread, did you make sure it had all of the original paths? Perhaps slcdfree is in oracle/product/9.2/lib32/?
Maruti
Advisor

Re: Cannot dlopen load module

The solutions which we were trying till now were solving something and creating some more at the same time.
I have got some response from MicroFocus guys who have asked me to create an Oracle XA switch module for accessing the database to get past these problems
Maruti
Advisor

Re: Cannot dlopen load module

The linking of Oracle Client Library with a shared object was not working out. The solution provided by MicroFocus COBOL team was to access database through Oracle XA Switch Module.