LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2010, 02:17 AM   #1
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Rep: Reputation: 0
Running 32bit app on a 64bit Redhat. x64


Hi,

I'm thinking of installing a Redhat Enterpriser Linux 5 x64 on a 64bit IBM server.

Will I still be able to run my "old" 32bit programs or do I have to port/recompile them for 64bit ?

I've read something about installing 32bit libraries should solve some or most problems...

Regards.
 
Old 08-25-2010, 07:07 AM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
I run lots of 32 bit applications on 64 bit Centos 5 (which is virtually identical to 64 bit RHEL 5).

You generally need to install some 32bit library packages (as you already seem to know). But that is quite easy to do with Yum (in Centos).

If you have the 32 bit binary file that you want to run available to you on some Linux system now, you can use the ldd command to find out what .so files it needs and on your RHEL system you can use the yum provides command to find the name of the package that includes that .so, then you can install the i386 architecture build of that package.

Unlike Debian based distributions, Red Hat and distributions based on it organize lib directories in a way that lets you install a 32 bit package of .so files on an x86_64 system without any conflict with the 64 bit build of the same package, which may also be installed.

On Debian based systems, a few packages of 32 bit libraries are made in a special version for installation on 64 bit systems. Other packages of 32 bit libraries would require non standard installation method to let them coexist with the 64 bit versions of the same libraries.

Last edited by johnsfine; 08-25-2010 at 07:17 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting 32bit application to 64bit on 64bit RedHat 5.4 pvpnguyen Programming 4 07-23-2010 06:52 AM
building 32bit app on 64bit system nori Linux - Software 1 07-20-2007 01:10 PM
Running LimeWire 32bit on a 64bit System? BiPolarPenguin Linux - Software 9 12-07-2006 12:07 PM
Running 32bit Installation with 64bit kernel? Colombian Linux - Newbie 3 09-26-2006 06:56 AM
can 64bit processor run both 64bit and 32bit computers? DJOtaku Linux - General 4 09-08-2005 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration