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/