Building ESDK targeting at using on Red Hat 7 box. If I build the library on RedHat 6 box, will it still be able to be used in RedHat 7 ?
Building ESDK targeting at using on Red Hat 7 box. If I build the library on RedHat 6 box, will it still be able to be used in RedHat 7 ?
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question. Thanks, AHS
Hi,
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
According to the following doc
https://access.redhat.com/articles/rhel-abi-compatibility
It should works if you build it using the same GCC version and use shared lib rather than static.
I have a chance to run some ESDK sample app which builds form RHEL6 on RHE7 and it seems to works but I could not guarantee that it will work without any issue.
It could have some change on RHEL7 which might break the binary compatibility in a future release. Therefore, for the production app, I would suggest you build the app with the natively built libs on a specific platform instead.