32-bit executables produce a "no such file or directory" error on a 64-bit 7.04 ubuntu

Asked by Dirk Kostrewa

Dear technical support team,

I've just installed the 64-bit version of ubuntu 7.04 on an AMD64 system. When I try to call any 32-bit executable, I get a "No such file or directory" error. When I compile a 64-bit executable from the same source code, calling of the resulting 64-bit executable works. This behaviour seems to be very strange to me, because the 64-bit system should be compatible to 32-bit executables, and, furthermore, the 64-bit version of a RedHat enterprise linux clone works with both the 64-bit and the 32-bit executable.
Could you please check this and recommend a fix for it, if possible? I would really like to use ubuntu in favour of a RedHat enterprise linux clone ...

Best regards,

Dirk.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Dirk Kostrewa
Solved:
Last query:
Last reply:
Revision history for this message
Igor Guerrero (igorgue) said :
#1

Did you installed ia32-libs?

It will be useful that you provide us the name of the application that you are trying to run.

Revision history for this message
Dirk Kostrewa (kostrewa) said :
#2

Sorry for the late reply - before you suggested a solution, I had to revert to a RHEL clone on the production machine. Therefore, I couldn't try it, but I found other threats withe the additional keyword "ia32-libs" where installing the "ia32-libs" solved exactly the problem that I described:
http://ubuntuforums.org/showthread.php?t=511987
http://ubuntuforums.org/archive/index.php/t-448759.html
BTW, the name of the binary application that was compiled under a 32-bit linux is not relevant - it happened with all of them.
Personally, I think, the i32-libs should be either installed as default or should be presented during installation as an optional package at a prominent place.

Thanks a lot for your reply!

Dirk.

Revision history for this message
Dirk Kostrewa (kostrewa) said :
#3

These were scientific programs that were installed directly under /
user/local, without the Ubuntu software package manager. These
packages came with pre-compiled 32-bit executables and with the source
code. Personally, I think, the 32-bit compatibility libraries should
be installed per default on any 64-bit linux for compatibility reasons.

Best regards,

Dirk Kostrewa.

Am 25.04.2008 um 23:54 schrieb trollord:

> Bug #140621 status changed in Ubuntu:
>
> New => Incomplete
>
> Status change explanation given by trollord:
>
> Could you provide information which software packages you had problems
> with? Usually when you install a 32-bit application from
> repositories it
> pulls in the 32-bit compatibility libraries as well. For some reason
> some application most likely did not.
>
> https://bugs.launchpad.net/ubuntu/+bug/140621
> "64-bit version produces "No such file or directory" error with 32-
> bit executables"
>
> This bug is linked to #13367.
> 32-bit executables produce a "no such file or directory" error on a
> 64-bit 7.04 ubuntu
> https://answers.launchpad.net/ubuntu/+question/13367
>
> --
> You received this question notification because you are a direct
> subscriber of the question.

*******************************************************
Dirk Kostrewa
Gene Center, A 5.07
Ludwig-Maximilians-University
Feodor-Lynen-Str. 25
81377 Munich
Germany
Phone: +49-89-2180-76845
Fax: +49-89-2180-76999
E-mail: <email address hidden>
*******************************************************