The libs should be 32 bits... but it seems it is not this the issue...
Hi Mariano:
Yes, it needs to be 32bit, but that's not the problem:
On 23 Jan 2013, at 16:59, Mariano Martinez Peck wrote:
> Maybe the lib needs to be 32 bits? can you check if the lib you are trying is compiled for 32 or 64?
smarr@minerva ~/tmp/libgit/libgit2$ file /Developer/usr/clang-ide/lib/libclang.dylib
/Developer/usr/clang-ide/lib/libclang.dylib: Mach-O universal binary with 2 architectures
/Developer/usr/clang-ide/lib/libclang.dylib (for architecture x86_64): �Mach-O 64-bit dynamically linked shared library x86_64
/Developer/usr/clang-ide/lib/libclang.dylib (for architecture i386): � �Mach-O dynamically linked shared library i386
smarr@minerva ~/tmp/libgit/libgit2$ file /opt/local/libexec/llvm-3.1/lib/libclang.dylib
/opt/local/libexec/llvm-3.1/lib/libclang.dylib: Mach-O universal binary with 2 architectures
/opt/local/libexec/llvm-3.1/lib/libclang.dylib (for architecture i386): Mach-O dynamically linked shared library i386
/opt/local/libexec/llvm-3.1/lib/libclang.dylib (for architecture x86_64): � � � Mach-O 64-bit dynamically linked shared library x86_64
Both version I have are universal binaries.
Best regards
Stefan
--
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax: � +32 2 629 3525