running 32 bit apps on amd64 version of Ubuntu
ender8282 at yahoo.com
Thu Nov 6 23:25:58 UTC 2008
Paul Johnson wrote:
> On Thu, Nov 6, 2008 at 5:08 PM, John Hubbard <ender8282 at yahoo.com> wrote:
>> Paul Johnson wrote:
>>> I came from Fedora land about 6 months ago, please pardon me for my innocence.
>>> In this Ubuntu 8.04 system, I have the amd64 version installed. Some
>>> programs are not compatible with 64 bit, and so I need to compile the
>>> 32 bit version of the program I need. The program is written in C++
>>> and it relies on the wx GTK toolkit.
>> OK I don't get it. If you have the source code, and are going to compile
>> it to run on your amd64 computer, why would you compile a 32 bit
>> version? It seems like you can compile it for your 64 bit processor,
>> with the installed 64 bit libraries and everything should be good.
>> Am I missing something?
> Yes. If I compile without taking special precautions, it tries to
> compile in 64 bit mode and the program fails because it is not 64 bit
> safe. I need to compile with the gcc options that force it to make a
> 32 bit executable, and doing so requires access to the 32 bit
> libraries on which I rely.
OK now everything makes sense. I googled installing 32 bit libraries on
64 bit Ubuntu and one of the hits had a link to an Ubuntu forum post.
I get an error message that the forum is being updated but you might
check that if no one else gets back to you. I checked my server (64bit
machine) and I do have a bunch of libraries in /usr/lib32/. I assume
that you have made sure that you don't already have the library that you
need. As far as how to compile in 32 bit mode I can't help you.
Hopefully someone else can or you can find it with google.
To be or not to be, that is the question
2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
0b11000100 || !0b11000100
0b11000100 || 0b00111011
255, that is the answer.
More information about the ubuntu-users