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
March 2006

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!



2006.03.16 20:23 "REPORT: The -rpath problem: -rpath options are NOT added...", by Norihiko Murase

Hi,

I tried building the CVS snapshot obtained on Mar 17 02:08 
(JST), on the FreeBSD 4.11-RELEASE box.


The -rpath options for the library paths of zlib and jpeg
are NOT added when tools/* are linked, although I added the
following options:
    --enable-rpath
    --enable-zlib
    --enable-jpeg
    --with-zlib-include-dir=/usr/local/zlib/include
    --with-zlib-lib-dir=/usr/local/zlib/lib
    --with-jpeg-include-dir=/usr/local/jpeg/include
    --with-jpeg-lib-dir=/usr/local/jpeg/lib

For example, when tools/tiffinfo was linked, the following
was executed:
------------------------------------------------------------
source='tiffinfo.c' object='tiffinfo.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff -I../libtiff 
-I/usr/local/jpeg/include -I/usr/local/zlib/include   -g -O2 -Wall -W -c
tiffinfo.c
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall -W 
-L/usr/local/jpeg/lib -L/usr/local/zlib/lib  -o tiffinfo  tiffinfo.o
../libtiff/libtiff.la ../port/libport.la -ljpeg -lz -lm -lc 
libtool: link: gcc -g -O2 -Wall -W -o .libs/tiffinfo tiffinfo.o 
-L/usr/local/jpeg/lib -L/usr/local/zlib/lib ../libtiff/.libs/libtiff.so
../port/.libs/libport.a -ljpeg -lz -lm -Wl,-rpath -Wl,/usr/local/LibTIFF/lib
libtool: link: creating tiffinfo
------------------------------------------------------------
You can know that neither 
  -R /usr/local/zlib/lib -R /usr/local/jpeg/lib
nor
  -Wl,-rpath -Wl,/usr/local/zlib/lib -Wl,-rpath -Wl,/usr/local/jpeg/lib
were added.

I attach the result of building, which was obtained via
script(1).

I am very happy if you give any suggestion or any comments.


Thanks,
Norihiko Murase <skeleten@shillest.net>