View Single Post
Posts: 12 | Thanked: 13 times | Joined on Feb 2010
#20
Originally Posted by dragly View Post
I just checked the sizes, and on device /opt/libqt4-maemo5 is 42652 bytes, while in scratchbox is 42988.

Can't this difference be because of the underlying file system? Both package versions (on device and in scratchbox) are 4.6.2~git20100212-0maemo1.

Thanks for all your suggestions so far! The next step will be to comment out different parts of the code to isolate the error, like Joorin suggested
While the underlying filesystem may store the libraries differently, and may take up different amounts of actual space, when exposed to user level programs, there will be no difference at all if they are the same file. If they are different, and really are the same library, then one of them is corrupted, it's that simple. Or, if they are different and not corrupted, then they are not the same library. Since Scratchbox has the ARM binaries, we can rule out the difference being because of x86/ARM architectural differences.

You could compare the output of md5sum on both libraries to be absolutely certain since it reads each file in it's entirety to produce the checksum, but since they are different sizes, I can guarantee you'll get different checksums - meaning they are not the same file.
 

The Following User Says Thank You to rivierakid For This Useful Post: