Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to compare the *.so files of two different directories?

807557Oct 29 2008 — edited Oct 30 2008
Good morning,
I am working in a software development company that works as follows:
- we have a platform, that consists of a list of *.so files.
- we deliver a product, based on that platform, that also consists of a list of *.so files.
- all our sources are managed via Clearcase.

Now I have the following situation:
- we have created a new Clearcase view, where we (should have) all correct sources. These have been compiled, resulting in a list of *.so files.
- we have a copy of the product that we have delivered at the client.

I would like to verify whether the *.so files of the new Clearcase view are the same as the ones that have been delivered to the client.

Why is this such a problem?
- I could check the "cksum" result, but as the Solaris command "cksum" takes into account the compilation date, I have different "cksum" results for *.so files that are basically equal.
- I could check the filesize, but a small change in a source might change the behaviour of the *.so file but not necessarily its filesize.
- I could check the "what" result (the "C Compilation System" "what" command), which gives the Clearcase status, so that I can check whether the same Clearcase versions have been delivered, but while doing this, I have seen that *.so files have been delivered, the sources of which were checked OUT (!), so also this does not give me any certainty.

- In addition, it is possible that there is a change in the platform components, resulting in a different product specific *.so file, which however does not mean that the behaviour of the product specific *.so file is different.

Therefore I am looking for another way of comparing two binary *.so files, in order for me to judge the correctness of the new Clearcase view.

Does anybody have an idea?

Thanks
Dominique
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2008
Added on Oct 29 2008
3 comments
3,103 views