AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2014.10.02 12:04 "[Tiff] Vulnerability CVE-2010-2596", by Petr Hracek
2014.10.02 13:55 "Re: [Tiff] Vulnerability CVE-2010-2596", by Bob Friesenhahn
2014.10.07 22:30 "Re: [Tiff] build a static tiff2pdf", by Joel Costigliola
2014.10.07 14:38 "Re: [Tiff] build a static tiff2pdf", by Bob Friesenhahn
2014.10.07 20:37 "Re: [Tiff] build a static tiff2pdf", by Joel Costigliola
2014.10.07 22:40 "Re: [Tiff] build a static tiff2pdf", by Bob Friesenhahn
2014.10.07 23:35 "Re: [Tiff] build a static tiff2pdf", by Joel Costigliola

2014.10.07 14:38 "Re: [Tiff] build a static tiff2pdf", by Bob Friesenhahn

>
> Hey,
>
> I'm trying to build a static binaries, to embedd tiff2pdf in my java application.
>
> I'm running Ubuntu 14.04, I have been able to build a tiff2pdf binary using shared libraries but I failed to build a
> static one.

You don't really want to build a static libtiff. Modern systems
depend on shared libraries so that binaries can run on multiple
systems. The only library which looks like a problem in your linkage
is libjpeg.so.7.

Perhaps using

   ./configure LIBS='/usr/lib/x86_64-linux-gnu/libjpeg.a'

(adapted for your system) might help with the JPEG linkage problem.

Otherwise you will need to learn about exotic linker options.

 Bob
 --
 Bob Friesenhahn
 bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
 GraphicsMagick Maintainer, http://www.GraphicsMagick.org/