running 32 bit apps on amd64 version of Ubuntu

John Hubbard ender8282 at yahoo.com
Thu Nov 6 23:33:00 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.
>
>
>   
Look into the package 'getlibs'. I think that is what the forum post is 
about.

-- 
-john

To be or not to be, that is the question
                2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
        0b11000100 || !0b11000100
        0b11000100 || 0b00111011
               0b11111111
        255, that is the answer.






More information about the ubuntu-users mailing list