Description of problem: The installed version in Fedora (at least as of F15) does not include support for a thread-safe environment. The support for multithreading applications can be enabled using the configure flag --enable-reentrant. However, even when compiled with that flag, the created shared library libcfitsio.so does not have a reference to libpthread.so: ldd libcfitsio.so linux-vdso.so.1 => (0x00007fff5cce5000) libc.so.6 => /lib64/libc.so.6 (0x00007f73d8e1d000) /lib64/ld-linux-x86-64.so.2 (0x00000035a0800000) which makes applications to fail, unless explicitly stated compilation against -lpthread. To solve that, I propose the following patch: diff cfitsio/Makefile.in cfitsio.new/Makefile.in 93c93 < ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} --- > ${SHLIB_LD} ${LDFLAGS} ${LIBS} -o $@ ${OBJECTS} Regards, Enrique
I have made a scratch build http://koji.fedoraproject.org/koji/taskinfo?taskID=3471729 Please check that it works as intended. Before sending this new version as an update, I'm going to check if packagers of dependent software find any problem using the multithreaded library.
Multithread is enabled since 3.280-2