2 Replies Latest reply on Nov 16, 2011 12:53 PM by santosh.zanjurne

    Problems with Open64 in RHEL 6.1: Bad ELF interpreter

    alvaroafernandez
      Completely stuck installing Open64 in RHEL 6.1. I can't build it and I can't use a binary version.

      The box in question is a ProLiant DL165 G7 running Linux rhe61-wg 2.6.32-131.0.15.el6.x86_64.

      The version of gcc that came with RHEL 6.1 is 4.4.5, which is a bit old I guess.

      I can't build open64 from source; I get errors which I can describe ifthe forum wants.

      When that happened, I *thought* it'd be easier to use the binaries, but when I do so, I get  errors such as:

      [root@rhe61-wg bin]# openf90
      bash: /opt/software/open64/x86_open64-4.2.5.2/bin/openf90: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
      [root@rhe61-wg bin]#

      Everything I've read about this error suggests that I need to upgrade my glibc and redo the whole gnu hierarchy. Is that true?

      I do have my paths set  up properly I think, as per my .bashrc:

      export OPEN64_VERSION=4.2.5.2
      export TOOLROOT=/opt/software/open64/x86_open64-$OPEN64_VERSION
      export PATH=$TOOLROOT/bin:$PATH
      export LD_LIBRARY_PATH=$TOOLROOT/lib/gcc-lib/x86_64-open64-linux/$OPEN64_VERSION:$LD_LIBRARY_PATH

      [root@rhe61-wg bin]# echo $PATH
      /opt/software/open64/x86_open64-4.2.5.2/bin:/opt/software/open64/x86_open64-4.2.5.2/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin

      echo $LD_LIBRARY_PATH
      /opt/software/open64/x86_open64-4.2.5.2/lib/gcc-lib/x86_64-open64-linux/4.2.5.2:/opt/software/open64/x86_open64-4.2.5.2/lib/gcc-lib/x86_64-open64-linux/4.2.5.2: