Now, Unzip it:
$ tar -zxf ldid-1.0.610.tgz
Move to the result folder:
$ cd ldid-1.0.610
Compile it:
$ g++ -I . -o util/ldid{,.cpp} -x c util/{lookup2,sha1}.c
export CODESIGN_ALLOCATE=.../toolchain/pre/bin/arm-apple-darwin9-codesign_allocate; ldid -S yourlib