Visual Paradigm Modeler Installation fails on Gentoo Linux on libc.so.6

Trying to install evaluation version of Visual Paradigm Modeler in Gentoo Linux with 2.6.5 kernel and sun jdk 1.4.2:
#java -version
java version "1.4.2_04"
Java™ 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot™ Client VM (build 1.4.2_04-b05, mixed mode)

Running the installer with debug info:
#LAX_DEBUG=“1” ./vpumlme_20040414.bin
Preparing to install…
Checking for POSIX df.
Found POSIX df.
Checking tail options…
Using tail -n 1.
True location of the self extractor: /home/hspaay/down/visual paradigm/vpumlme_20040414.bin
Creating installer data directory: /tmp/install.dir.8797
Creating installer data directory: /tmp/install.dir.8797/InstallerData
Gathering free-space information…
Space needed to complete the self-extraction: 1092544 blocks
Available space: 2676032 blocks
Available blocks: 2676032 Needed blocks: 1092544 (block = 512 bytes)
Computed number of blocks to extract: 1007
Extracting the JRE from the installer archive…
Extracting JRE from ./vpumlme_20040414.bin to /tmp/install.dir.8797/Linux/resource/jre_padded …
Extracting done, exit code = 0
Extracting JRE from /tmp/install.dir.8797/Linux/resource/jre_padded to /tmp/install.dir.8797/Linux/resource/vm.tar.Z …
Extracting done, exit code = 0
Unpacking the JRE…
Unpacking the JRE…
gzip is /bin/gzip
GZIP done.
TAR done.
Extracting the installation resources from the installer archive…
Extracting install.zip from ./vpumlme_20040414.bin to /tmp/install.dir.8797/InstallerData/installer.padded …
Extracting to padded done, exit code = 0
Extracting from padded to zip done, exit code = 0
Creating disk1 data directory: /tmp/install.dir.8797/InstallerData/Disk1
Creating instdata data directory: /tmp/install.dir.8797/InstallerData/Disk1/InstData
Extracting resources from ./vpumlme_20040414.bin to /tmp/install.dir.8797/InstallerData/Disk1/InstData/Resource1.zip …
Extracting done, exit code = 0
Configuring the installer for this system’s environment…

========= Analyzing UNIX Environment =================================
Setting UNIX (linux) flavor specifics.
Importing UNIX environment into LAX properties.
Checking for POSIX awk.

========= Analyzing LAX ==============================================
LAX found… OK.
LAX properties read… OK.

========= Finding VM =================================================
Valid VM types… J2 J1 MSJ
Absolute LAX_VM path… /tmp/install.dir.8797/Linux/resource/jre/bin/java
Expanded Valid VM types… JRE_J2 JDK_J2 JRE_J1 JDK_J1 MSJ

  • Using VM…(lax.nl.current.vm)… /tmp/install.dir.8797/Linux/resource/jre/bin/java
    checking for NPTL + JVM vulernability…
    NPTL detected! checking for vulnerable JVM…
    awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
    major :
    minor :
    patch :
    vendor:
    Vulnerable JVM detected… implementing workaround

========= Virtual Machine Options ====================================
LAX properties incorporated… OK.
classpath… "/tmp/install.dir.8797/InstallerData:/tmp/install.dir.8797/InstallerData/installer.zip"
main class… “com.zerog.ia.installer.Main”
.lax file path… "/tmp/install.dir.8797/temp.lax"
user directory… "/tmp/install.dir.8797"
stdout to… "console"
sterr to… "console"
install directory… ""
JIT… none
option (verify)… off
option (verbosity)… none
option (garbage collection extent)… none
option (garbage collection thread)… none
option (native stack max size)… none
option (java stack max size)… none
option (java heap max size)… 50331648
option (java heap initial size)… 16777216
option (lax.nl.java.option.additional)… none
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

========= Display settings ===========================================
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
X display… local
UI mode… gui

Launching installer…

CLASSPATH:/tmp/install.dir.8797/InstallerData:/tmp/install.dir.8797/InstallerData/installer.zip:.
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

========= Forking JAVA =============================================
/tmp/install.dir.8797/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

Hi Henk,

The problem is associated with Gentoo and InstallAnywhere (our program installer). The same problem also exists for SuSe as well.

There is no official fix for this problem but there is a workaround. Before you proceed any further, make a backup copy of “vpumlme_20040414.bin” (just copy it to /tmp). Now in your favourite editor, open vpumlme_20040414.bin .

Search for the following lines:

glibc floating stack problem on Linux

if [ uname -s = Linux ]
then
case uname -r in
2.[456]*)
LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL
;;
esac
fi

Once you find this, comment these 9 lines and try installing again.

Hope this helps.

Martyn

Thanks, I used the no-install version instead.