Thursday, August 23, 2012

Discoverer Plus 11g - dis51pr: error while loading shared libraries: libpthread.so.0: cannot open shared object file

Hi All

Here the new issue that I found during changing the pref.txt in Discoverer Plus/Viewer 11g on RH6.

I changed the pref.txt in $ORACLE_INSTANCE/config/PreferenceServer/Discoverer_asinst_1.
And when I tried to run $ORACLE_INSTANCE/Discoverer/Discoverer_asinst_1/util/applypreferences.sh
I got an error:
dis51pr: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

I know this error from the previous Discoverer version (10g ) on RH5. The patch 6690831 fixing this issue by removing the LD_ASSUME_KERNEL from opmn.xml

I checked the $ORACLE_INSTANCE/config/OPMN/opmn/opmn.xml , there was no LD_ASSUME_KERNEL parameter there.

How to fix it? Here the solution:

1. Backup $ORACLE_INSTANCE/Discoverer/Discoverer_asinst_1/util/discenv.sh file
2. Look for :

#Bug 7491881 - For LNX AMD, set the LD_ASSUME_KERNEL variable
export LD_ASSUME_KERNEL=2.4.19


and change it to


#Bug 7491881 - For LNX AMD, set the LD_ASSUME_KERNEL variable
#export LD_ASSUME_KERNEL=2.4.19
3. Run $ORACLE_INSTANCE/Discoverer/Discoverer_asinst_1/util/applypreferences.sh

Good Luck ...

No comments:

Post a Comment