LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-13-2008, 01:34 PM   #1
Pranay1711
LQ Newbie
 
Registered: May 2008
Posts: 8

Rep: Reputation: 0
RHEL3 to RHEL5


We have plans to port the application to RHEL5 ( currently it works on RHEL3). I would guess that the "C++", "C", ProCPP code would not need any (many) changes but there can be potential changes in the third party libraries used, eg Orbix, ILOG, Rogue Waves, Oracle, Xerces.
Does anyone have experience on a similar requirement and would share it with me. I am curious to know if we really have to make some drastic changes in compiler flags, way of compilation etc, when we switch to RHEL5, with respect ot the usage of the third party tools.
I can give the exact version of the libraries too if needed.
Missing information that someone needs, i can provide more info.
How smooth is such porting?

Please advise!
 
Old 06-14-2008, 10:31 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
RHEL3 has a 2.4.x kernel whereas RHEL5 has 2.6.x so there are some significant differences even at kernel level.

There may be hardware you're currently running for which the drivers don't exist or are not automatically loaded so you may need extra work to get it working on your server. Presumably you wouldn't need to worry about it for the app you're shipping unless you're selling the hardware too.

Also there are other things e.g. reliance on udev for many things.

Also you have to be cognizant of 32 bit vs 64 bit. Are you porting your app to 64 bit?

I haven't done any porting but have seen a couple of things for apps originally written for 2.4 32 bit:

1) libstdc++ - Many folks that haven't ported require you to install compat-libstdc++-296 and/or an earlier one that I can't recall at the moment (note these are versions of package name but rather different compatibility libraries so the versions would be suffixed to them. There are other compatibility libraries but these are the ones I've needed most often. You may wish to insure you've set your software up to not require that or at least note that you do.

2) Because RHEL4 could be run in 32 bit mode it may be RHEL5 can be as well (have done former but not latter). If so there may be some need for investigating how you're going to do this (or tell users it is not supported). Look into linux32 information for more details - I've only seen it from the runtime method of Oracle E-Business.
 
Old 06-16-2008, 11:04 AM   #3
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 676

Rep: Reputation: 137Reputation: 137
Your another options is don't do porting at all.

You can use Ermine (http://magicErmine.com) or statifier (http://statifier.sf.net) to pack your applications on the RHEL3 box.
Once packed, them able to run nearly on any distro, without need to install
any libraries. And if application packed on i386 it can also run on x86_64 without 32-bit compatibility libs installed.

Valery.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What potential issues could we expect in replacing RHEL3 box with RHEL5? jayunplugged Red Hat 4 03-17-2008 08:21 AM
shifting from RHEL3 to RHEL5 oracle_on_linux Linux - Hardware 1 01-03-2008 05:35 PM
Redhat 9 Vs. RHEL3 ACDII Red Hat 4 08-28-2006 03:49 PM
Snapshotting in RHEL3 Sfpiano Red Hat 1 12-12-2005 07:12 PM
ncpfs with RHEL3 sbrewer Linux - Networking 0 12-01-2004 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:13 PM.

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