2006.01.09 14:12 "[Tiff] The -rpath Problem: Please add ${LIBDIR} to ${LINK}", by Norihiko Murase

2006.01.09 14:12 "[Tiff] The -rpath Problem: Please add ${LIBDIR} to ${LINK}", by Norihiko Murase

Hi,

I found one kind of problem in LibTIFF-3.8.0. Even if I executed the configure script with the option "--enable-rpath", the -R<dir> options are NOT added in the steps of "link"!!

When the configure script is executed with "--enable-rpath", the appropriate -R<dir> options are stored in LIBDIR such as

    LIBDIR = -R /usr/local/jpeg/lib -R /usr/local/zlib/lib

I consider that it is the best to add ${LIBDIR} to ${LINK} in the Makefiles. Note that this kind of inconvenience does exist at least in

    contrib/addtiffo/Makefile
    contrib/dbs/Makefile
    contrib/iptcutil/Makefile
    tools/Makefile
    libtiff/Makefile
# As for libtiff/Makefile, it may be the best to add the
# following line somewhere
# mkg3states_LDFLAGS = $(LIBDIR)

Best regards,

---
Norihiko Murase
  The University of Aizu
E-mail: skeleten [AT] shillest.net
        s1080224 [AT] u-aizu.ac.jp