If I leave out -be in mksquashfs then unsquashfs will unpack it with no problem at all. Perhaps a library problem?