- 2008.04.10 16:07 "Re: [Tiff] PREFIX with a comma?", by Andy Cave
-
2008.04.10 17:06 "Re: [Tiff] PREFIX with a comma?", by Bob Friesenhahn
-
2008.04.10 17:36 "Re: [Tiff] PREFIX with a comma?", by Dean
- 2008.04.10 17:50 "Re: [Tiff] PREFIX with a comma?", by Bob Friesenhahn
-
2008.04.10 17:36 "Re: [Tiff] PREFIX with a comma?", by Dean
2008.04.11 09:44 "Re: [Tiff] 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