Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 22
Is your system a 64-bit system? The file command says 'driver' is a 64-bit dynamically linked executable, but ldd says it's not dynamically linked. That makes me wonder if your ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Location
    Maryland, USA
    Posts
    510

    Is your system a 64-bit system? The file command says 'driver' is a 64-bit dynamically linked executable, but ldd says it's not dynamically linked. That makes me wonder if your PC is a 32-bit machine.

    I have not used a 64-bit machine yet, so I'm not quite sure what to look for. But when I run the command "file /bin/ls", it reports "ELF 32-bit LSB executable...", so I guess that's one way to tell.

    If you are trying to run a 64-bit executable on a 32-bit machine, I'm pretty sure that will never work. But if your machine is 64-bit, then I don't know what is wrong.

  2. #12
    Just Joined!
    Join Date
    Feb 2007
    Posts
    19
    hi
    my machine is 32-bit machine.
    that is confirmed

  3. #13
    Just Joined!
    Join Date
    Feb 2007
    Posts
    19
    so do you mean to say it is 64-bit dynamically linked executable file running on my 32-bit machine!?

  4. $spacer_open
    $spacer_close
  5. #14
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Location
    Maryland, USA
    Posts
    510
    Quote Originally Posted by SunitaChandrasekaran
    so do you mean to say it is 64-bit dynamically linked executable file running on my 32-bit machine!?
    No, I mean to say it is a 64-bit dynamically linked executable file that is not running on your 32-bit machine.

    I don't know any solution. Sorry.

  6. #15
    Just Joined!
    Join Date
    Feb 2007
    Posts
    19

    open64 and dragon

    ohh..yeah..that is what i meant..
    typed wrongly...

    i was all this while trying to download onto vmware station...
    now i am giving it a shot on a proper linux platform...
    just to try if that had created any downloading issues.

    thanks anyways for your immediate assistance
    will get back to you.

  7. #16
    Just Joined!
    Join Date
    Feb 2007
    Posts
    19
    how abt a cross compilation on a IA-32 machine to produce IA64 binaries?

  8. #17
    Just Joined!
    Join Date
    Feb 2007
    Posts
    19

    open64 this time on a 64-bit computer

    hi
    me back again!
    this time i have downloaded open64 files on AMD opteron processor

    code: openf90 -dragon -ipa -O2 BT.f
    message: bash: /usr/bin/openf90: cannot execute binary file

    code : file /usr/lib/gcc-lib/ia64-open64-linux/0.16/driver
    message : /usr/lib/gcc-lib/ia64-open64-linux/0.16/driver: ELF 64-bit LSB executable, IA-64 (Intel 64 bit architecture), version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped

    code : ldd /usr/lib/gcc-lib/ia64-open64-linux/0.16/driver
    message: not a dynamic executable

    code : uname -a
    message: Linux linux-1xsf 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux


    it is not recognizing the openf90 file too..!

  9. #18
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Location
    Maryland, USA
    Posts
    510
    Make sure the execute bit is turned on (the 'x' returned by ls -l). If it's not, then:
    Code:
    chmod +x /usr/lib/gcc-lib/ia64-open64-linux/0.16/driver
    The only other thing I can think of is that maybe it is trying to link to libraries in that subdirectory but haven't been installed yet. Are there installation instructions for installing libraries? Maybe 'make install'?

    I don't know enough to know if this is plausible, but you might try this to tell the dynamic linker where to look for libraries, if there are any in that project, including any nearby directories that have .so files.
    Code:
    ldconfig /usr/lib/gcc-lib/ia64-open64-linux/0.16/driver

  10. #19
    Just Joined!
    Join Date
    Feb 2007
    Posts
    19

    open64 this time on a 64-bit computer

    code: ls -l /usr/bin/openf90

    message :lrwxrwxrwx 1 root root 49 2007-02-13 18:07 /usr/bin/openf90 -> //usr//lib/gcc-lib/ia64-open64-linux/0.16//driver

    (this implies that it is already in executable mode isnt'it?)

    but
    code :ldconfig /usr/lib/gcc-lib/ia64-open64-linux/0.16/driver

    message :bash: ldconfig: command not found

  11. #20
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Location
    Maryland, USA
    Posts
    510
    No. File openf90 is a symbolic link, which always has all it's bits turned on. You need to look at the file it links to.

    ldconfig is in /sbin. You must run it as root.

Page 2 of 3 FirstFirst 1 2 3 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
  •