dputhier / pygtftk

A python package and a set of shell commands to handle GTF files
GNU General Public License v3.0
45 stars 6 forks source link

libgtftk.so compilation #6

Closed dputhier closed 6 years ago

dputhier commented 6 years ago

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.

dputhier commented 6 years ago

The libgtftk.so compilation issue should be fixed in aa47b8bdc4a8dd2176e6fb94900048cbb205dfcc