Friday, October 22, 2010

cdsdoc libpthread.so.0: cannot open shared object file (Solved)

Hi
When running "cdsdoc &" i get this error:

$INST_DIR/tools/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

Solution:

I changed the cdsdoc script from $CDS_ROOT/share/bin/cdsdoc the LD_ASSUME_KERNEL from 2.4.19 to 2.6.19

The test:
lnx#> cdsdoc -test

               CDSDoc 2.1 Installation verification

Check system - Linux ws4 2.6.31.14-0.2-xen #1 SMP 2010-10-07 19:06:53 +0200 x86_64 x86_64 x86_64 GNU/Linux
Checking installation directory... Done.
Checking user environment variables... Done.
Checking Netscape, make sure Netscape 4.51 (or higher) is in your PATH ...
Mozilla Firefox 3.5.4, Copyright (c) 1998 - 2009 mozilla.org
Java version 1.6.0_21 used, It should be java 1.1 or newer version
Checking Directory Structure...
Directory Structure Check passed
Done.

No comments:

Post a Comment