AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 2014

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



New Datamatrix section



Valid HTML 4.01!



Thread

2014.10.07 04:50 "build a static tiff2pdf", by Joel Costigliola
2014.10.07 14:38 "Re: build a static tiff2pdf", by Bob Friesenhahn
2014.10.07 20:37 "Re: build a static tiff2pdf", by Joel Costigliola
2014.10.07 22:30 "Re: build a static tiff2pdf", by Joel Costigliola
2014.10.07 22:40 "Re: build a static tiff2pdf", by Bob Friesenhahn
2014.10.07 23:35 "Re: build a static tiff2pdf", by Joel Costigliola

2014.10.07 20:37 "Re: build a static tiff2pdf", by Joel Costigliola

Hi Bob

Using your suggestion did not solve the problem unfortunately but your help
is appreciated.

I know building static binaries is not standard but in my case it makes
sense, I'm writing software for clinicians that need to see lab results in
TIFF format.
As we don't have a TIFF viewer in our application we convert tiff to pdf, we
want static binaries to ease our software installation by not having to
install the required shared libraries in each target systems.

I need now to find the correct option to build a static tiff2pdf binary, I
already tried ' LDFLAGS=-static' without success.

Cheers

Joel


________________________________________
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Sent: Wednesday, 8 October 2014 03:38 a.m.
To: Joel Costigliola
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] build a static tiff2pdf

On Tue, 7 Oct 2014, Joel Costigliola wrote:

>
> 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/