Google it ....

Showing posts with label discoverer. Show all posts
Showing posts with label discoverer. Show all posts

Friday, August 23, 2019

Discoverer dis51pr: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

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

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