Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-r.one.com (mx-r.one.com [91.198.169.249])
	by mail6.local.one.com (Postfix) with ESMTP id 259FE3003A86A1
	for <filtered@awaresystems.be>; Tue,  7 Oct 2014 14:46:18 +0000 (UTC)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-r: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.217.182 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182])
	by mx-r.one.com (Postfix) with ESMTP id ED32E20701AE4
	for <filtered@awaresystems.be>; Tue,  7 Oct 2014 14:46:17 +0000 (UTC)
Received: by mail-lb0-f182.google.com with SMTP id z11so6102114lbi.41
        for <filtered@awaresystems.be>; Tue, 07 Oct 2014 07:46:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-original-authentication-results:delivered-to:delivered-to:date
         :from:to:in-reply-to:message-id:references:user-agent:mime-version
         :cc:subject:precedence:list-id:list-unsubscribe:list-archive
         :list-post:list-help:list-subscribe:content-type
         :content-transfer-encoding:sender:errors-to;
        bh=lXG+nraki5XSy2OUqXr9Yh703wFxBSYmTL9sIKka/Gc=;
        b=Dpz40y7NaiqRI4rIFfvKPsU7rfjaO2a/XtT9dnu6BOuWIoxwCUB/nRlh9cF9ZA9xRn
         cFuxiZAm7CjapaFeu/4UVViFXzW1Icawe/FEVRax/iK7Og6Y4iaQO/SU+YTU3e2C1Cj0
         LX8MjHcySrKVhewvXyXpJ2V+w1clVbxh6mbaLpxjipHCnGG9knG42OSejHdoetlt8pFA
         A0O7vBy23nkjWlv5Cg6VVG9RB17f2iGS1bAkDUloAKRwrIr5twf868OJvicAIIfX4vAb
         MD1+2qeBv9nSJXlfHWxhjDFvNtKMoBGBeEuBOwz3Z74CDza70pdzGLRTC1rq9MGucIj3
         lg8A==
X-Original-Authentication-Results: mx.google.com;       spf=neutral (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) smtp.mail=tiff-bounces@lists.maptools.org
X-Received: by 10.112.155.8 with SMTP id vs8mr4557575lbb.55.1412693177596;
        Tue, 07 Oct 2014 07:46:17 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.114.111.103 with SMTP id ih7csp353064ldb;
        Tue, 7 Oct 2014 07:46:16 -0700 (PDT)
X-Received: by 10.152.204.231 with SMTP id lb7mr4676440lac.44.1412693176582;
        Tue, 07 Oct 2014 07:46:16 -0700 (PDT)
Authentication-Results: mx.google.com;
       spf=neutral (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) smtp.mail=tiff-bounces@lists.maptools.org
Received-SPF: none (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) client-ip=91.198.169.249;
Received: by 10.152.123.198 with POP3 id mc6mf6476623lab.18;
        Tue, 07 Oct 2014 07:46:16 -0700 (PDT)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-r.one.com (mx-r.one.com [91.198.169.249])
	by mail6.local.one.com (Postfix) with ESMTP id 184713003A86B0
	for <info@awaresystems.be>; Tue,  7 Oct 2014 14:39:26 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (ks365428.kimsufi.com [94.23.4.142])
	by mx-r.one.com (Postfix) with ESMTP id EC75B206EE0C2
	for <info@awaresystems.be>; Tue,  7 Oct 2014 14:39:25 +0000 (UTC)
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 63ABD35C02A;
	Tue,  7 Oct 2014 09:38:34 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by lists.maptools.org (Postfix) with ESMTPS id 8939035C025
	for <tiff@lists.maptools.org>; Tue,  7 Oct 2014 09:38:07 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	s97EcBGB021194; Tue, 7 Oct 2014 09:38:11 -0500 (CDT)
Date: Tue, 7 Oct 2014 09:38:11 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Joel Costigliola <joel.costigliola@orionhealth.com>
In-Reply-To: <1412657434147.53619@orionhealth.com>
Message-ID: <alpine.GSO.2.01.1410070934280.18732@freddy.simplesystems.org>
References: <1412657434147.53619@orionhealth.com>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);
	Tue, 07 Oct 2014 09:38:11 -0500 (CDT)
Cc: "tiff@lists.maptools.org" <tiff@lists.maptools.org>
Subject: Re: [Tiff] build a static tiff2pdf
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

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/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
