from fafa: The pb with compilation of library is still there. When you do a "file" on the library compiled with gtftk installation, you get : Mach-O 64-bit bundle x86_64
The same "file" on the library I compiled by hand ( gcc -o libgtftk.so -fPIC -shared -lz -I. .c command/.c ) give : Mach-O 64-bit dynamically linked shared library x86_64
The right options (-dynamiclib -shared) appears on the compilation lines but not on the link line, when you link together all the compiled files to build the library. It is probably needed to add these options elsewhere in the config file to tell the linker to make a dynamically linked shared library instead of a bundle.
from fafa: The pb with compilation of library is still there. When you do a "file" on the library compiled with gtftk installation, you get : Mach-O 64-bit bundle x86_64 The same "file" on the library I compiled by hand ( gcc -o libgtftk.so -fPIC -shared -lz -I. .c command/.c ) give : Mach-O 64-bit dynamically linked shared library x86_64 The right options (-dynamiclib -shared) appears on the compilation lines but not on the link line, when you link together all the compiled files to build the library. It is probably needed to add these options elsewhere in the config file to tell the linker to make a dynamically linked shared library instead of a bundle.