LinuxQuestions.org
Help answer threads with 0 replies.
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, 07: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, 12:17 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 11:22 AM   #3
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 676

Rep: Reputation: 137Reputation: 137
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, 11:32 AM   #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 12:31 PM
LXer: Novell Attacks Red Hat with Linux Migration Offer LXer Syndicated Linux News 0 11-12-2008 01: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 12:08 PM
LXer: Novell Launches New Training to Ease Red Hat-to-SUSE Linux Migration LXer Syndicated Linux News 0 02-01-2007 06:21 AM
GUI based application for Installing RPMs for Red Hat Linux 9? AskMe Linux - Software 3 07-29-2004 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:19 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