> > An additional option --with-zlib=/usr/local to configure should take
> > care of this
> >
>
> Oddly enough it did not work out on my system. Here's the relevant
> output from make:
>
> ../libtool --mode=link g++ -no-undefined -o libexiv2.la basicio.lo
> bmpimage.lo canonmn.lo convert.lo cr2image.lo crwimage.lo datasets.lo
I can reproduce this. The LDFLAGS setting passed to "make" overwrites
that from configure. It works here if I set LDFLAGS in the environment
before running "configure", like
OATEST-02> export LDFLAGS="-no-undefined"
OATEST-02> ./configure --with-zlib=/usr/local --disable-nls
--disable-printucs2 --disable-xmp
That results in the desired LDFLAGS value in config/config.mk and
subsequently "make" succeeds.
-ahu.