Re: [ilugd] Binary Compatibility between distros

2008-04-14 Thread Raj Shekhar
in infinite wisdom Dinesh Shah spoke thus  On 04/13/2008 09:55 PM:

 What the kernel version has to do with running a program? It is the
 libraries that matter while running any binary. Some posters here has
 already asked the OP to run ldd and find the library dependencies.

There might be subtle dependency problems/bugs.  If you can gurantee the 
same version of kernel and libraries in you integeration (or test) and 
production boxes, it will help your sanity.



-- 
raj shekhar
facts: http://rajshekhar.net | opinions: http://rajshekhar.net/blog
Yoda of Borg are we: Futile is resistance. Assimilate you, we will
'Borg? Sounds Swedish.' - Lily, Star Trek First Contact

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Binary Compatibility between distros

2008-04-14 Thread Anoop John
On Mon, Apr 14, 2008 at 10:32 AM, Sankarshan Mukhopadhyay wrote:
  did you get the RHEL3 one working on Fedora 8 ?

Yes I did get the application running on Fedora 8 and the user tested
the application for basic functionalities. I have not heard back from
the company and I believe they will contact me if they run into any
difficulties.
Anoop

-- 

http://www.zyxware.com
http://www.thondomraughts.com

Be the change you wish to see in the world, M. K. Gandhi


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Binary Compatibility between distros

2008-04-14 Thread Vikas Upadhyay
On Mon, Apr 14, 2008 at 1:58 PM, Anoop John [EMAIL PROTECTED] wrote:

 On Mon, Apr 14, 2008 at 10:32 AM, Sankarshan Mukhopadhyay wrote:
   did you get the RHEL3 one working on Fedora 8 ?

 Yes I did get the application running on Fedora 8 and the user tested
 the application for basic functionalities. I have not heard back from
 the company and I believe they will contact me if they run into any
 difficulties.
 Anoop


Just for my knowledge, did it work just like that or there was something you
did to get it working ?
Vikas
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Binary Compatibility between distros

2008-04-13 Thread Raj Shekhar
in infinite wisdom Anoop John spoke thus  On 04/11/2008 10:33 AM:
 I had a request recently from a firm in Trivandrum to try to set up
 their software (Altair Hyperworks) on RHEL 3.

Centos is the closest relative to rhel, not fedora.  I suggest using 
centos3 and installing the app on it.

-- 
raj shekhar
facts: http://rajshekhar.net | opinions: http://rajshekhar.net/blog
Yoda of Borg are we: Futile is resistance. Assimilate you, we will
'Borg? Sounds Swedish.' - Lily, Star Trek First Contact

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Binary Compatibility between distros

2008-04-13 Thread Vikas Upadhyay
On Mon, Apr 14, 2008 at 8:19 AM, Raj Shekhar [EMAIL PROTECTED] wrote:

 in infinite wisdom Anoop John spoke thus  On 04/11/2008 10:33 AM:
  I had a request recently from a firm in Trivandrum to try to set up
  their software (Altair Hyperworks) on RHEL 3.

 Centos is the closest relative to rhel, not fedora.  I suggest using
 centos3 and installing the app on it.


I guess RHEL 3 is kernel 2.4.X whereas RHEL 4 is  2.6.X.
Don't know how a binary from 2.4 will run just like that on 2.6; if you
have source you can definitely port it to 2.6.
So in this case Centos 3 would be the best alternative, as suggested by Raj
(Shekhar).

And coming back to your original question:
So the question is, if a software (binary) works on a given distro,
would it work on other distros too? If there are dependancies will we
be able to figure them out without having access to the source?
ldd helps you in finding the shared library dependencies but what happens to
the dependency on some other files whose location varies from ditro to
distro? This is the question just came to my mind and not sure whether there
are some configuration files (or other files) whose location differ from
distro to distro and are used by some applications. So, anybody, any
pointers ?

Vikas
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Binary Compatibility between distros

2008-04-13 Thread Dinesh Shah
Dear Vikas,

On Mon, Apr 14, 2008 at 10:16 AM, Vikas Upadhyay  wrote:

  Centos is the closest relative to rhel, not fedora.  I suggest using
  centos3 and installing the app on it.


 I guess RHEL 3 is kernel 2.4.X whereas RHEL 4 is  2.6.X.
 Don't know how a binary from 2.4 will run just like that on 2.6; if you
 have source you can definitely port it to 2.6.
 So in this case Centos 3 would be the best alternative, as suggested by
 Raj
 (Shekhar).


What the kernel version has to do with running a program? It is the
libraries that matter while running any binary. Some posters here has
already asked the OP to run ldd and find the library dependencies.


 And coming back to your original question:
 So the question is, if a software (binary) works on a given distro,
 would it work on other distros too? If there are dependancies will we
 be able to figure them out without having access to the source?
 ldd helps you in finding the shared library dependencies but what happens
 to
 the dependency on some other files whose location varies from ditro to
 distro? This is the question just came to my mind and not sure whether
 there
 are some configuration files (or other files) whose location differ from
 distro to distro and are used by some applications. So, anybody, any
 pointers ?


If you have a distro and your program which is LSB compliant you will not
see much problems.



 Vikas


HTH
With regards,
-- 
--Dinesh Shah :-)
Shah Micro System
+91-98213-11906
+91-92113-61617
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Binary Compatibility between distros

2008-04-13 Thread Sankarshan Mukhopadhyay
Anoop John wrote:
 I had a request recently from a firm in Trivandrum to try to set up
 their software (Altair Hyperworks) on RHEL 3. I took fedora, assuming
 that if it worked on RHEL it would on fedora too, and with some minor
 tweaks in the installation script I was able to set it up on Fedora 8.

https://www.redhat.com/apps/isv_catalog/AppProfile.html?application_id=4345 
is does appear to be listed for RHEL4 as well - did you get the RHEL3 
one working on Fedora 8 ?





-- 

http://www.gutenberg.net - Fine literature digitally re-published
http://www.plos.org - Public Library of Science
http://www.creativecommons.org - Flexible copyright for creative work



___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Binary Compatibility between distros

2008-04-13 Thread Sankarshan Mukhopadhyay
Dinesh Shah wrote:

 What the kernel version has to do with running a program? It is the
 libraries that matter while running any binary. Some posters here has
 already asked the OP to run ldd and find the library dependencies.

there are a few applications which do require specific kernel versions. 
admittedly these are few, but these are from large ISVs as well.

 If you have a distro and your program which is LSB compliant you will not
 see much problems.

the configuration files may or may not be a problem, but there have been 
cases of applications not just working across RHEL3.x and RHEL4.x 
because of features included in the later version. a very rudimentary 
example could be applications assuming lower resistance from SELinux in 
RHEL5.x compared to RHEL4.x and failing in execution.

at the end of the day, the runnability of the application is something 
that is a function of the ISV development process which in turn also 
influences the OS development

-- 

http://www.gutenberg.net - Fine literature digitally re-published
http://www.plos.org - Public Library of Science
http://www.creativecommons.org - Flexible copyright for creative work



___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Binary Compatibility between distros

2008-04-13 Thread Sankarshan Mukhopadhyay
Harish Pillay wrote:

  If you have a distro and your program which is LSB compliant you will not
  see much problems.
 
 Yes, that is what LSB has helped achieve.

not completely though. the LSB Application Testing suite checks for 
symbol usage across what can be called the  highest common factor ie 
hugely generic across distributions. there are still distribution 
specific symbols (among other things) that applications can and do use 
and hence require rebuilds across distributions




-- 

http://www.gutenberg.net - Fine literature digitally re-published
http://www.plos.org - Public Library of Science
http://www.creativecommons.org - Flexible copyright for creative work



___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Binary Compatibility between distros

2008-04-11 Thread Shiv
From: Anoop John [EMAIL PROTECTED]

If there are dependancies will we
be able to figure them out without having access to the source?

Hi,
I've found that a man's best friend in such cases is the ldd command.
once you have installed this software, you could run ldd against the binary. It 
would tell you what libraries are missing.
as an example (output is the binary):-
$ldd output
linux-gate.so.1 =  (0xe000)
libX11.so.6 = /usr/lib/libX11.so.6 (0xb7e26000)
libXi.so.6 = /usr/lib/libXi.so.6 (0xb7e1e000)
libXmu.so.6 = /usr/lib/libXmu.so.6 (0xb7e08000)
libGL.so.1 = /usr/lib/libGL.so.1 (0xb7d67000)
libGLU.so.1 = /usr/lib/libGLU.so.1 (0xb7ce7000)
libtiff.so.4 = /usr/lib/libtiff.so.4 (0xb7c95000)
libglut.so.3 = /usr/lib/libglut.so.3 (0xb7c63000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb7b79000)
libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7b52000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb7b45000)
libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7a04000)
libXau.so.6 = /usr/lib/libXau.so.6 (0xb7a01000)
libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0xb79fc000)
libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0xb79f8000)
libXext.so.6 = /usr/lib/libXext.so.6 (0xb79ea000)
libXt.so.6 = /usr/lib/libXt.so.6 (0xb7998000)
libSM.so.6 = /usr/lib/libSM.so.6 (0xb798f000)
libICE.so.6 = /usr/lib/libICE.so.6 (0xb7977000)
libpthread.so.0 = /lib/tls/i686/cmov/libpthread.so.0 (0xb796)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb7941000)
libz.so.1 = /usr/lib/libz.so.1 (0xb792c000)
/lib/ld-linux.so.2 (0xb7f2a000)

Regards,
Shiv






  Get the freedom to save as many mails as you wish. To know how, go to 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/