facebook

[non-RHEL Linux] 5.0 M1 installation failed – missing libs

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #252716 Reply

    Michal Kuna
    Member

    Here’s what I get when launching installer:

    Extracting the installation resources from the installer archive…
    Configuring the installer for this system’s environment…
    nawk: error while loading shared libraries: libm.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
    /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
    hostname: error while loading shared libraries: libresolv.so.2: cannot open shared object file: No such file or directory

    Launching installer…

    grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /usr/lib/jvm/java-gcj/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

    I checked the supposly missing libraries, but they all are installed.

    using:

    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode)

    Linux 2.6.12-10-amd64-generic #1 Fri Apr 28 13:18:42 UTC 2006 x86_64 GNU/Linux

    Any solutions?

    #252720 Reply

    Haris Peco
    Member

    kunix,

    You use GNU java from your distribution

    Try set environment for SUN java , for example

    export JAVA_HOME=<PATH_TO_YOU_SUN_JAVA>
    export PATH=$JAVA_HOME/bin:$PATH
    <start eclipse>

    or start eclipse with

    eclipse -vm <PATH_TO_YOUR_SUN_JAVA>/bin/java …

    Best

    Note : it’s bettre that you use Sun java sdk than jre

    #252752 Reply

    Michal Kuna
    Member

    @support-snpe wrote:

    You use GNU java from your distribution

    No – distributions java is 1.4.2, i substituted it with SUN’s 1.5 VM

    Besides, previos installer works fine. 5.0M1 crashes.

    #252753 Reply

    Haris Peco
    Member

    /usr/lib/jvm/java-gcj/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

    This is GNU java.Try manual install, please

    Thanks

    #252765 Reply

    Michal Kuna
    Member

    @support-snpe wrote:

    /usr/lib/jvm/java-gcj/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

    This is GNU java.Try manual install, please

    Thanks

    this is NOT GNU java. Like I mentioned before – the symbolic link that points to SUN java

    
    drwxr-xr-x  5 root   root   4096 2006-05-16 14:47 java-1.4.2-gcj-4.0-1.4.2.0
    lrwxrwxrwx  1 root   root     12 2006-05-17 10:39 java-gcj -> jdk1.5.0_06/
    drwxr-xr-x  9 michal michal 4096 2005-11-10 21:33 jdk1.5.0_06
    

    running
    java -version

    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode)

    And this is definitly NOT GNU java…

    #253066 Reply

    bunkenburg
    Member

    I am having the same problem. I am using SuSE linux, and the JVM is SUN’s JDK1.5. The libraries are installed. Please advise.

    alex@alex:~/downloads/Eclipse> ./MyEclipseEnterpriseWorkbenchInstaller_5_0M1_E3_2.bin
    Preparing to install…
    Extracting the installation resources from the installer archive…
    Configuring the installer for this system’s environment…
    awk: error while loading shared libraries: libdl.so.2: 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
    /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
    hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

    Launching installer…

    grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /usr/lib/jvm/jre-1.5.0-sun/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    alex@alex:~/downloads/Eclipse> echo $JAVA_HOME
    /usr/lib/jvm/java
    alex@alex:~/downloads/Eclipse> echo $PATH
    /usr/lib/jvm/java:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/local/bin:/usr/local/bin
    alex@alex:~/downloads/Eclipse> java -version
    java version “1.5.0_06”
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)

    #253067 Reply

    Haris Peco
    Member

    ok.Your java is fine, but can you try manual install fruther, please

    I suppose that install doesn’t work on your distribution, but manual install will work

    Best

    #253091 Reply

    Michal Kuna
    Member

    could you please guide me to the manual of manual install? the archive doesn’t have any.

    #253092 Reply

    Haris Peco
    Member

    just unpack archive and you will find manual

    Best

    #253657 Reply

    Michal Kuna
    Member

    IMO the problem seems to be 64bit jvm. I guess it’s better to stick with 32bit vm.

    #253780 Reply

    bfkeil
    Member

    I’m having the same problem as these others on AMD 64. Earlier (4.0.1 GA) installers for MyEclipse work on this same machine (amd64 running 64 bit Gentoo). The errors are ecountered before any JVM is loaded:

    bkeil@zorro ~ $ strace sh ~/Desktop/Downloads/MyEclipseEnterpriseWorkbenchInstaller_5_0M1_E3_2.bin > MyEclipse50Install.log 2>&1
    bkeil@zorro ~ $ cat MyEclipse50Install.log | grep -F “open
    error” | grep -v /dev/null
    open(“/etc/ld.so.cache”, O_RDONLY) = 3
    open(“/lib/libncurses.so.5”, O_RDONLY) = 3
    open(“/lib/libdl.so.2”, O_RDONLY) = 3
    open(“/lib/libc.so.6”, O_RDONLY) = 3
    open(“/dev/tty”, O_RDWR|O_NONBLOCK) = 3
    open(“/proc/meminfo”, O_RDONLY) = 3
    open(“/proc/sys/kernel/ngroups_max”, O_RDONLY) = 3
    open(“/home/bkeil/Desktop/Downloads/MyEclipseEnterpriseWorkbenchInstaller_5_0M1_E3_2.bin”, O_RDONLY) = 3
    open(“/tmp/install.dir.23800/sea_loc”, O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/install.dir.23800/temp.lax”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/env.properties.23800”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/env.properties.23800”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    open(“/tmp/env.properties.23800”, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
    read(3, awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
    read(3, dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    read(3, /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
    read(3, basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    read(3, dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    read(3, basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    read(3, hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    read(3, grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    open(“/etc/ld.so.cache”, O_RDONLY) = 3
    open(“/lib64/tls/x86_64/libpthread.so.0”, O_RDONLY) = -1 ENOENT (No such file or directory)
    open(“/lib64/tls/libpthread.so.0”, O_RDONLY) = -1 ENOENT (No such file or directory)
    open(“/lib64/x86_64/libpthread.so.0”, O_RDONLY) = -1 ENOENT (No such file or directory)
    open(“/lib64/libpthread.so.0”, O_RDONLY) = 3
    open(“/usr/lib64/tls/x86_64/libpthread.so.0”, O_RDONLY) = -1 ENOENT (No such file or directory)
    open(“/usr/lib64/tls/libpthread.so.0”, O_RDONLY) = -1 ENOENT (No such file or directory)
    open(“/usr/lib64/x86_64/libpthread.so.0”, O_RDONLY) = -1 ENOENT (No such file or directory)
    open(“/usr/lib64/libpthread.so.0”, O_RDONLY) = -1 ENOENT (No such file or directory)
    writev(2, [{“/opt/blackdown-jdk-1.4.2.03/jre/”…, 40}, {“: “, 2}, {“error while loading shared libra”…, 36}, {“: “, 2}, {“libpthread.so.0”, 15}, {“: “, 2}, {“cannot open shared object file”, 30}, {“: “, 2}, {“No such file or directory”, 25}, {“\n”, 1}], 10/opt/blackdown-jdk-1.4.2.03/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

    #254041 Reply

    csimonut
    Member

    @kunix wrote:

    IMO the problem seems to be 64bit jvm. I guess it’s better to stick with 32bit vm.

    No, it’s not a problem with 64bit jvm. I have the same problem with 32bit jvm:

    
    % sh MyEclipseEnterpriseWorkbenchInstaller_5_0M1_E3_2.bin
    Preparing to install...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...
    awk: error while loading shared libraries: libdl.so.2: 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
    /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
    hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    
    Launching installer...
    
    grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /home/simon/java/jdk1.5.0_07/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    
    
    % echo $JAVA_HOME 
    /home/simon/java/jdk1.5.0_07
    
    
    % echo $PATH
    /home/simon/bin:/home/simon/java/apache-ant-1.6.5/bin:/usr/local/bin:
    /home/simon/java/jdk1.5.0_07/bin:/home/simon/java/jdk1.5.0_07/jre/bin:
    [...]
    
    
    % java -version
    java version "1.5.0_07"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
    

    I will try to install manual.

    Simon

    #254341 Reply
    #254417 Reply

    Michal Kuna
    Member

    thats nice of you, but now a quote for myeclipse:

    I don’t pay annual fee for a chance of using workarounds. i expect your product to WORK FINE + INSTALL FINE. nothing more. Today got a message when runned eclipse, that myeclipse has upgrades, so i upgraded. and the result?? jsp editor crashes… downloaded manually and… installer crashes!!! F…. !!! I have my own work which i have to finish. so either get on fixing those bugs, or you will loose customers.

    #254424 Reply

    Scott Anderson
    Participant

    Kunix,

    I apologize that you’re seeing these issues and we’ve been rapidly moving to address them.

    We know the installation on Linux has been problematic in the past on certain distributions due to path problems and selection of an incompatible JDK by InstallAnywhere. To address that issue, we began bundling a compliant JDK (1.4.2) into the installer in 5.0M2. That will only be used for the installation and then removed. This should fix the initial problem you encountered.

    As far as the problems you encountered with the update, they’re caused by the Eclipse Update Manager not restarting with -clean automatically. I talk about that issue, why we can’t address it immediatelly, and workarounds here: https://www.genuitec.com/forums/topic/closed-myeclipse-5-0-m2-fails-to-open-jsp-pages/#post-254368&highlight=#60826

Viewing 15 posts - 1 through 15 (of 22 total)
Reply To: [non-RHEL Linux] 5.0 M1 installation failed – missing libs

You must be logged in to post in the forum log in