AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2008

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2008.04.10 18:58 "Linking against libz, libjpeg", by <dean@brewsession.com>
2008.04.10 21:43 "Re: Linking against libz, libjpeg", by Bob Friesenhahn
2008.04.10 23:38 "Re: Linking against libz, libjpeg", by <dean@brewsession.com>
2008.04.10 23:57 "Re: Linking against libz, libjpeg", by Bob Friesenhahn
2008.04.11 14:50 "Re: Linking against libz, libjpeg", by <dean@brewsession.com>
2008.04.11 09:44 "Re: Linking against libz, libjpeg", by Andrey Kiselev

2008.04.11 09:44 "Re: Linking against libz, libjpeg", by Andrey Kiselev

On Thu, Apr 10, 2008 at 01:58:22PM -0500, Dean wrote:
> ./configure --prefix=${PREFIX} \
>             --bindir=${PREFIX}/${OS}-bin.${ARCH} \
>             --libdir=${PREFIX}/${OS}-lib.${ARCH} \
>             --includedir=${PREFIX}/${OS}-include.${ARCH} \
>             --mandir=${PREFIX}/doc/man \
>             --enable-cxx \
>             --with-zlib-lib-dir=${ZLIBS}/${OS}-lib.${ARCH} \
>             --with-zlib-include-dir=${ZLIBS}/${OS}-include.${ARCH} \
>             --with-jpeg-lib-dir=${JPEGSRC}/${OS}-lib.${ARCH} \
>             --with-jpeg-include-dir=${JPEGSRC}/${OS}-include.${ARCH}
> 
> Note that I tell it to look for zlib and jpeg in /usr/dist/share/...,
> but the compiled binaries link against /usr/lib:
> 
> 0 sd-ccs-01 libtiff,v3.8.2/5.10-bin.sun4 % ldd bmp2tiff
>         libtiff.so.3 =>  /usr/dist/share/libtiff,v3.8.2/5.10-lib.sun4/libtiff.so.3
>         libjpeg.so.62 =>         /usr/lib/libjpeg.so.62
>         libz.so =>       /usr/lib/libz.so
>         libm.so.2 =>     /lib/libm.so.2
>         libc.so.1 =>     /lib/libc.so.1
>         /platform/SUNW,Ultra-30/lib/libc_psr.so.1
> 
> Is there something I am missing?

Hi Dean,

I think you should add --enable-rpath option to configure.

Best regards,
Andrey

-- 
Andrey V. Kiselev
ICQ# 26871517