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

While you are right, in general, there are times when clueless proprietary
software developers check for kernel versions (which in some cases you
can fix by editing the string in vmlinuz).

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

Yes, that is what LSB has helped achieve.

Harish

_______________________________________________
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/

Reply via email to