2012.07.31 02:27 "Re: [Tiff] Libtiff 4 wrongly depends on pthreads", by Bob Friesenhahn
Today I noticed that libtiff 4 is wrongly depending on pthreads and the pthread library (if available). I believe that this is due to a defect in libtiff's configure script, and in particular these bits:
My theory that the OpenGL macros were causing libtiff to depend on
pthreads was wrong. The pthreads dependency is actually coming from
the installed liblzma.la file.
One of my liblzma.la files contains:
# Linker flags that can not go in dependency_libs. inherited_linker_flags=''
# Libraries that this one depends upon. dependency_libs=' -L/usr/local/lib -lpthread'
while the other contains
# Linker flags that can not go in dependency_libs. inherited_linker_flags=' -pthreads'
# Libraries that this one depends upon. dependency_libs=' -L/usr/local64/lib'
Both of these liblzma libraries were build on the same machine, with
one being built as 32 bit code and the other as 64 bit code. It is
odd such different content appears in the two files.
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/