LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-12-2010, 08:30 AM   #1
Ghare123
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Question Migration of C++ Application from SuSE Linux to Red Hat Linux


Hi

I want to Migrate my C++ Application from SuSE Linux to Red Hat Linux
What impact analysis i should do?
 
Old 02-12-2010, 01:17 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,260

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
Welcome to LQ.

Please define "impact analysis" ..


From Suse 10 SLED : It may just work.
Please run : ldd <executable> , if you don't know,
which libraries your application depends on.

From Suse 11.x : You will have to recompile it.
RH EL 5 uses glibc-2.5 .
.....
 
Old 02-13-2010, 12:22 PM   #3
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 669

Rep: Reputation: 134Reputation: 134
Quote:
Originally Posted by Ghare123 View Post
Hi

I want to Migrate my C++ Application from SuSE Linux to Red Hat Linux
What impact analysis i should do?
You have 3 different options:

1. Copy your source code to Red Hat Linux and build here.
If your program don't depend on the lot of different (and unusual) libraries and compilers versions are not too different on both systems,
that usually will do. In any case, if you invest enough time and effort to installing missing build dependencies and fixing possible portability issues with different compiler version, it will work for sure.

2. Just copy your binary and pay it will work.
No effort, but works only sometimes

3. You can use tool like statifier (http://statifier.sf.net) or Ermine
(http://magicErmine.com)

Both of then convert dynamically linked executable into self-containing one, that can be copied and used on virtually any Linux system and use no external dependencies.

Statifier is open source (licensed under GPLv2+), but it doesn't behave well on systems with memory and kernel vdso randomization.
Ermine is commercial, but behaves better on those systems and have more options.
 
1 members found this post helpful.
Old 04-04-2010, 12:32 PM   #4
nikole
LQ Newbie
 
Registered: Apr 2010
Posts: 13

Rep: Reputation: 0
Hi Ghare123,
were you able to complete your migration
What are all makor issues you faced
Regards
 
  


Reply

Tags
application, c++, from, linux, migrate, suse


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how can i install a application in red hat linux awnishkumar Linux - Desktop 3 11-06-2009 01:31 PM
LXer: Novell Attacks Red Hat with Linux Migration Offer LXer Syndicated Linux News 0 11-12-2008 02:30 PM
Shell scripts migration from SunOS 5.9 to Red Hat Linux Advanced Server 4.0 64-bit devenr_2000 Linux - Newbie 1 11-13-2007 01:08 PM
LXer: Novell Launches New Training to Ease Red Hat-to-SUSE Linux Migration LXer Syndicated Linux News 0 02-01-2007 07:21 AM
GUI based application for Installing RPMs for Red Hat Linux 9? AskMe Linux - Software 3 07-29-2004 08:16 AM


All times are GMT -5. The time now is 01:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration