AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.10.24 07:37 "[Tiff] [request] add --rpath for jpeg and zlib", by Norihiko Murase
2004.10.24 14:56 "Re: [Tiff] [request] add --rpath for jpeg and zlib", by Bob Friesenhahn
2004.10.26 14:20 "Re: [Tiff] [request] add --rpath for jpeg and zlib", by Norihiko Murase
2004.10.26 15:58 "Re: [Tiff] [request] add --rpath for jpeg and zlib", by Bob Friesenhahn
2004.10.28 17:40 "Re: [Tiff] [request] add --rpath for jpeg and zlib", by Andrey Kiselev
2004.10.29 07:29 "Re: [Tiff] [request] add --rpath for jpeg and zlib", by Norihiko Murase
2004.10.29 17:50 "Re: [Tiff] [request] add --rpath for jpeg and zlib", by Andrey Kiselev
2004.10.29 19:39 "OBSOLETE instruction of "Anonymous CVS" at www.libtiff.org (Re: [Tiff] [request] add --rpath for jpeg and zlib)", by Norihiko Murase
2004.10.30 13:28 "Re: OBSOLETE instruction of "Anonymous CVS" at www.libtiff.org (Re: [Tiff] [request] add --rpath for jpeg and zlib)", by Andrey Kiselev
2004.10.29 19:48 "--enable-rpath works FINE!! (Re: [Tiff] [request] add --rpath for jpeg and zlib)", by Norihiko Murase

2004.10.26 14:20 "Re: [Tiff] [request] add --rpath for jpeg and zlib", by Norihiko Murase

Bob, Thank you for your comment.

Well, first, as you said in the comment, actually I could build by setting the LDFLAGS environment variable in executing the configure script.

    % env LDFLAGS='-R/usr/local/zlib/lib:/usr/local/jpeg/lib' \
       ./configure ....

This resulted in the following, which is for what I expect.

    % ldd tiff-3.7.0/tools/.libs/tiffsplit
    tiff-3.7.0/tools/.libs/tiffsplit:
        [...]
        libz.so => /usr/local/zlib/lib/libz.so (0x280a9000)
        [...]
    %

Second, it may be bad that the --with-(zlib|jpeg)-lib-dir configure option ALWAYS add the --rpath option to the linker, but you have also the choice that you create --with-rpath option in the configure script, which tells it to add the option.

Anyway, I have no reason for being particular to the configure script option, as long as the way is left in which I can build as I expect.

# Thie means that I respect your development policy ;-)

Thanks!!

---
Norihiko Murase <skeleten@shillest.net>