LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Migration of C++ Application from SuSE Linux to Red Hat Linux (https://www.linuxquestions.org/questions/linux-newbie-8/migration-of-c-application-from-suse-linux-to-red-hat-linux-788664/)

Ghare123 02-12-2010 07:30 AM

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?

knudfl 02-12-2010 12:17 PM

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 .
.....

Valery Reznic 02-13-2010 11:22 AM

Quote:

Originally Posted by Ghare123 (Post 3861415)
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.

nikole 04-04-2010 11:32 AM

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


All times are GMT -5. The time now is 09:26 AM.