By default, Snow and Leopard C and C ++ compilers generate 64-bit binaries, rather than 32-bit ones, as in older versions of OS X. The libmad configure script does not seem to have been modified to handle this. and so generates build commands that cause a 32/64 bit conflict that you see.
This means that one way to fix this is to force a 32-bit build.
But itβs easy enough to install the configure script in the correct processor type. For the lion:
$ ./configure x86_64-apple-darwin11.3.0
For Snow Leopard, change the kernel version:
$ ./configure x86_64-apple-darwin10.6.0
Warren young
source share