Page 2 of 3 FirstFirst 123 LastLast
Results 6 to 10 of 13

Thread: Getting strings:'/lib/libc.so.6': no such file error on Linux IA64 machines

  1. #6
    Join Date
    Jun 2009
    Posts
    3

    Angry So much for "Install Anywhere"...

    This is a problem with Install anywhere, and the assumptions it makes about the target system. Has nothing to do with the JVM.

    Install Anywhere creates a 32 bit linux binary which assumes that various 32 bit libraries exist on the system.

    When you install it on a 64 bit system, it assumes that the necessary 32 bit compatibility libraries are installed. When they are not installed (which appears to be the default for newer linux distros - I encountered this on RHEL 6 Beta 2) it dies a horrible death.

    Ideally, Install Anywhere could handle this... but since it can't, the only alternative I know is to force your users to install the missing compatibility libraries.

    After you fix the error you posted, you will likely get this error next (this is from the JVM, however, since I bundle a 32 bit JVM, and not a 64 bit):

    Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

    Stack Trace:
    java.lang.UnsatisfiedLinkError: /tmp/install.dir.5282/Linux/resource/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)


    And then yet one more after that.

    Anyway. To fix this on RHEL Beta 2, I had to install the 32 bit versions of the following:

    glibc
    libXext
    libXtst

    The second two are to fix issues with the 32 bit JVM, which you probably don't need if you are shipping a 64 bit JVM.

    Note that, in the graphical package installer included with RedHat, you must uncheck the box for "only native packages" before it will show you the 32 bit versions of these libraries that you need to install.

    Sigh. Yet another installer killing bug that I have to include in my release notes for our customers.
    Last edited by daniel.armbrust; 10-25-2010 at 04:37 PM.

  2. #7
    Join Date
    Jun 2010
    Posts
    72
    I post several articles here too. I have similar problems to run the installer on EwdHat 6 X64 beta 2. I have to ask user to install all required 32bit libs to make sure the installer can work. Even after that, I couldn't see any exceptions I still have problem to invode the graphic user interface and I think it still need more 32bit libs.

    [root@vm-rh6-64-4 Linux]# export LAX_DEBUG=true
    [root@vm-rh6-64-4 Linux]# ./install-Linux.bin
    Preparing to install...
    Checking for POSIX df.
    Found POSIX df.
    Checking tail options...
    Using tail -n 1.
    True location of the self extractor: /code/CD/Linux/install-Linux.bin
    Creating installer data directory: /tmp/install.dir.10985
    Creating installer data directory: /tmp/install.dir.10985/InstallerData
    Gathering free-space information...
    Space needed to complete the self-extraction: 2861186 blocks
    Available space: 20529384 blocks
    Available blocks: 20529384 Needed blocks: 2861186 (block = 512 bytes)
    Computed number of blocks to extract: 2591
    Extracting the JRE from the installer archive...
    Extracting JRE from ./install-Linux.bin to /tmp/install.dir.10985/Linux/resource/jre_padded ...
    Extracting done, exit code = 0
    Extracting JRE from /tmp/install.dir.10985/Linux/resource/jre_padded to /tmp/install.dir.10985/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 ./install-Linux.bin to /tmp/install.dir.10985/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.10985/InstallerData/Disk1
    Creating instdata data directory: /tmp/install.dir.10985/InstallerData/Disk1/InstData
    Extracting resources from ./install-Linux.bin to /tmp/install.dir.10985/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.......................... 1.4+
    Absolute LAX_VM path.................... /tmp/install.dir.10985/Linux/resource/jre/jre/bin/java
    Expanded Valid VM types................. 1.4+
    * Using VM.....(lax.nl.current.vm)...... /tmp/install.dir.10985/Linux/resource/jre/jre/bin/java
    checking for NPTL + JVM vulernability...
    NPTL detected! checking for vulnerable JVM....

    ========= Virtual Machine Options ====================================
    LAX properties incorporated............. OK.
    classpath............................... "/tmp/install.dir.10985/InstallerData:/tmp/install.dir.10985/InstallerData/installer.zip"
    main class.............................. "com.zerog.ia.installer.Main"
    .lax file path.......................... "/tmp/install.dir.10985/temp.lax"
    user directory.......................... "/tmp/install.dir.10985"
    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)............. 71680000
    option (java heap initial size)......... 16777216
    option (lax.nl.java.option.additional).. none


    Launching installer...

    ========= VM Command Line ============================================
    options: -Djava.compiler=NONE -Xmx71680000 -Xms16777216
    CLASSPATH:/tmp/install.dir.10985/InstallerData:/tmp/install.dir.10985/InstallerData/installer.zip:

    ========= Forking JAVA =============================================
    LAX Version = 11.5

    Graphical installers are not supported by the VM. The console mode will be used instead...

    __________________________________________________________________________

    InstallAnywhere 2010
    Version: 11.5
    __________________________________________________________________________

    Sat May 21 10:54:08 IDT 2011

    Free Memory: 10820 kB
    Total Memory: 16384 kB

    No Arguments

    java.class.path:
    /tmp/install.dir.10985/InstallerData
    /tmp/install.dir.10985/InstallerData/installer.zip

    ZGUtil.CLASS_PATH:
    /tmp/install.dir.10985/InstallerData
    /tmp/install.dir.10985/InstallerData/installer.zip

    sun.boot.class.path:
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/vm.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/annotation.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/beans.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/java.util.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/jndi.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/logging.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/security.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/sql.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmorb.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmorbapi.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmcfw.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/rt.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/charsets.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/resources.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmpkcs.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmcertpathfw.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmjgssfw.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmjssefw.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmsaslfw.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmjcefw.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmjgssprovider.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmjsseprovider2.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmcertpathprovider.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmxmlcrypto.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/management-agent.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/xml.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/jlm.jar
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/javascript.jar

    java.ext.dirs:
    /tmp/install.dir.10985/Linux/resource/jre/jre/lib/ext

    java.version == 1.6.0 (Java 1)
    java.vm.name == IBM J9 VM
    java.vm.vendor == IBM Corporation
    java.vm.version == 2.4
    java.vm.specification.name == Java Virtual Machine Specification
    java.vm.specification.vendor == Sun Microsystems Inc.
    java.vm.specification.version == 1.0
    java.specification.name == Java Platform API Specification
    java.specification.vendor == Sun Microsystems Inc.
    java.specification.version == 1.6
    java.vendor == IBM Corporation
    java.vendor.url == http://www.ibm.com/
    java.class.version == 50.0
    java.compiler == NONE
    java.home == /tmp/install.dir.10985/Linux/resource/jre/jre
    java.io.tmpdir == /tmp
    os.name == Linux
    os.arch == x86
    os.version == 2.6.32-71.el6.x86_64
    path.separator == :
    file.separator == /
    file.encoding == UTF-8
    user.name == root
    user.home == /root
    user.dir == /tmp/install.dir.10985
    user.language == en
    user.region == null
    __________________________________________________________________________

    ===============================================================================
    Choose Locale...
    ----------------

    1- Deutsch
    ->2- English
    3- Espaol
    4- Franais
    5- Italiano
    6- Portugus (Brasil)

    CHOOSE LOCALE BY NUMBER:

  3. #8
    Join Date
    Mar 2006
    Location
    Paris, France
    Posts
    2,142

    Exclamation

    Sorry Daniel, but as you can see, IA relies on Java, which in turn relies on the system (which can be 32 / 64 bits). The issue you get you'll have with any other 32 bit application on 64 bit platforms if you don't have the compatibility libraries installed.

    Quote Originally Posted by daniel.armbrust View Post
    This is a problem with Install anywhere, and the assumptions it makes about the target system. Has nothing to do with the JVM.

    Install Anywhere creates a 32 bit linux binary which assumes that various 32 bit libraries exist on the system.

    When you install it on a 64 bit system, it assumes that the necessary 32 bit compatibility libraries are installed. When they are not installed (which appears to be the default for newer linux distros - I encountered this on RHEL 6 Beta 2) it dies a horrible death.

    Ideally, Install Anywhere could handle this... but since it can't, the only alternative I know is to force your users to install the missing compatibility libraries.

    After you fix the error you posted, you will likely get this error next (this is from the JVM, however, since I bundle a 32 bit JVM, and not a 64 bit):

    Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

    Stack Trace:
    java.lang.UnsatisfiedLinkError: /tmp/install.dir.5282/Linux/resource/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)


    And then yet one more after that.

    Anyway. To fix this on RHEL Beta 2, I had to install the 32 bit versions of the following:

    glibc
    libXext
    libXtst

    The second two are to fix issues with the 32 bit JVM, which you probably don't need if you are shipping a 64 bit JVM.

    Note that, in the graphical package installer included with RedHat, you must uncheck the box for "only native packages" before it will show you the 32 bit versions of these libraries that you need to install.

    Sigh. Yet another installer killing bug that I have to include in my release notes for our customers.
    Vlad

  4. #9
    Join Date
    Jul 2011
    Posts
    2

    64-bit Installer gives error: "Graphical installers are not supported by the VM"

    Hello,
    I am using RHEL 6.1 OS. (i.e. "Linux 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 GNU/Linux").

    Our installer is built with 64-bit JRE on RHEL 6.1 64-bit OS.
    We are using Sun JDK, 1.6.0_26-b03

    I am getting the infamous GUI problem while launching the installer UI - i.e. I can "not" launch the GUI version of the installer and facing the error: "Graphical installers are not supported by the VM. The console mode will be used instead..."

    Here is the output - "any" help will be much appreciated.
    ===============================================
    [edm143@wiap323 ~]$ /var/tmp/install_64.bin -i swing
    Preparing to install...
    Checking for POSIX df.
    Found POSIX df.
    Checking tail options...
    Using tail -n 1.
    True location of the self extractor: /var/tmp/install_64.bin
    Creating installer data directory: /tmp/install.dir.5967
    Creating installer data directory: /tmp/install.dir.5967/InstallerData
    Gathering free-space information...
    Space needed to complete the self-extraction: 2454644 blocks
    Available space: 71628144 blocks
    Available blocks: 71628144 Needed blocks: 2454644 (block = 512 bytes)
    Computed number of blocks to extract: 1265
    Extracting the JRE from the installer archive...
    Extracting JRE from /var/tmp/install_64.bin to /tmp/install.dir.5967/Linux/resource/jre_padded ...
    Extracting done, exit code = 0
    Extracting JRE from /tmp/install.dir.5967/Linux/resource/jre_padded to /tmp/install.dir.5967/Linux/resource/vm.tar.Z ...
    Extracting done, exit code = 0
    Unpacking the JRE...
    gzip is /bin/gzip
    GZIP done.
    TAR done.
    Extracting the installation resources from the installer archive...
    Extracting install.zip from /var/tmp/install_64.bin to /tmp/install.dir.5967/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.5967/InstallerData/Disk1
    Creating instdata data directory: /tmp/install.dir.5967/InstallerData/Disk1/InstData
    Extracting resources from /var/tmp/install_64.bin to /tmp/install.dir.5967/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.......................... 1.6+
    Absolute LAX_VM path.................... /tmp/install.dir.5967/Linux/resource/jre/bin/java
    Expanded Valid VM types................. 1.6+
    * Using VM.....(lax.nl.current.vm)...... /tmp/install.dir.5967/Linux/resource/jre/bin/java
    checking for NPTL + JVM vulernability...
    NPTL detected! checking for vulnerable JVM....

    ========= Virtual Machine Options ====================================
    LAX properties incorporated............. OK.
    classpath............................... "/tmp/install.dir.5967/InstallerData:/tmp/install.dir.5967/InstallerData/installer.zip"
    main class.............................. "com.zerog.ia.installer.Main"
    .lax file path.......................... "/tmp/install.dir.5967/temp.lax"
    user directory.......................... "/tmp/install.dir.5967"
    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

    ========= Display settings ===========================================
    X display............................... local
    UI mode................................. swing

    Launching installer...

    ========= VM Command Line ============================================
    options: -Djava.compiler=NONE -Xmx50331648 -Xms16777216
    CLASSPATH:/tmp/install.dir.5967/InstallerData:/tmp/install.dir.5967/InstallerData/installer.zip:

    ========= Forking JAVA =============================================
    LAX Version = 11.5

    Graphical installers are not supported by the VM. The console mode will be used instead...

    __________________________________________________________________________

    InstallAnywhere 2010
    Version: 11.5
    __________________________________________________________________________

    Tue Jul 12 11:27:31 PDT 2011

    Free Memory: 14384 kB
    Total Memory: 15744 kB

    2 Command Line Args:
    0: -i
    1: swing

    java.class.path:
    /tmp/install.dir.5967/InstallerData
    /tmp/install.dir.5967/InstallerData/installer.zip

    ZGUtil.CLASS_PATH:
    /tmp/install.dir.5967/InstallerData
    /tmp/install.dir.5967/InstallerData/installer.zip

    sun.boot.class.path:
    /tmp/install.dir.5967/Linux/resource/jre/lib/resources.jar
    /tmp/install.dir.5967/Linux/resource/jre/lib/rt.jar
    /tmp/install.dir.5967/Linux/resource/jre/lib/sunrsasign.jar
    /tmp/install.dir.5967/Linux/resource/jre/lib/jsse.jar
    /tmp/install.dir.5967/Linux/resource/jre/lib/jce.jar
    /tmp/install.dir.5967/Linux/resource/jre/lib/charsets.jar
    /tmp/install.dir.5967/Linux/resource/jre/lib/modules/jdk.boot.jar
    /tmp/install.dir.5967/Linux/resource/jre/classes

    java.ext.dirs:
    /tmp/install.dir.5967/Linux/resource/jre/lib/ext
    /usr/java/packages/lib/ext

    java.version == 1.6.0_26 (Java 1)
    java.vm.name == Java HotSpot(TM) Server VM
    java.vm.vendor == Sun Microsystems Inc.
    java.vm.version == 20.1-b02
    java.vm.specification.name == Java Virtual Machine Specification
    java.vm.specification.vendor == Sun Microsystems Inc.
    java.vm.specification.version == 1.0
    java.specification.name == Java Platform API Specification
    java.specification.vendor == Sun Microsystems Inc.
    java.specification.version == 1.6
    java.vendor == Sun Microsystems Inc.
    java.vendor.url == http://java.sun.com/
    java.class.version == 50.0
    java.compiler == null
    java.home == /tmp/install.dir.5967/Linux/resource/jre
    java.io.tmpdir == /tmp
    os.name == Linux
    os.arch == i386
    os.version == 2.6.32-131.0.15.el6.x86_64
    path.separator == :
    file.separator == /
    file.encoding == UTF-8
    user.name == edm143
    user.home == /home/edm143
    user.dir == /tmp/install.dir.5967
    user.language == en
    user.region == null
    __________________________________________________________________________




    ChooseBundledVMs: Unable to locate the VMPack Directory
    RepositoryManager: Trying fallback repository location...
    Loading externalized properties

    ===============================================================================
    App Manager (created with InstallAnywhere)
    -------------------------------------------------------------------------------

    Preparing CONSOLE Mode Installation...

    System's temporary directory = /tmp



    ===============================================================================
    Introduction
    ------------
    InstallAnywhere will guide you through the installation of Discovery
    Manager.

    It is strongly recommended that you quit all programs before continuing with
    this installation.

    Respond to each prompt to proceed to the next step in the installation. If you
    want to change something on a previous step, type 'back'.

    You may cancel this installation at any time by typing 'quit'.

    PRESS <ENTER> TO CONTINUE: quit
    SHUTDOWN REQUESTED
    (X) commiting registry
    (X) shutting down service manager
    (X) cleaning up temporary directories
    Exiting with exit code: 1000
    cleanUp()
    calling cleanUpUNIX()
    [edm143@wiap323 ~]$

    ===========================================

  5. #10
    Join Date
    Sep 2010
    Posts
    5
    This is really wired behavior. Its causing only if DISPLAY variable is set.
    unset DISPLAY and installer runs fine.
    Take the same installer and run on Linux 5 and it works fine. Installer crashes only if we run on Linux 6 environment. Any idea why??

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •