Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
X-Original-To: filtered@awaresystems.be
Delivered-To: filtered@awaresystems.be
Received: from mx-s.one.com (mx-s.one.com [91.198.169.250])
	by mail9.b-one.net (Postfix) with ESMTP id 16D7A401F0A
	for <filtered@awaresystems.be>; Thu,  2 Feb 2012 03:38:29 +0100 (CET)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-s: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.160.48 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-pw0-f48.google.com (mail-pw0-f48.google.com [209.85.160.48])
	by mx-s.one.com (Postfix) with ESMTP id 7F56A2D298E
	for <filtered@awaresystems.be>; Thu,  2 Feb 2012 02:38:28 +0000 (UTC)
Received: by pbcc11 with SMTP id c11so1903131pbc.21
        for <filtered@awaresystems.be>; Wed, 01 Feb 2012 18:38:27 -0800 (PST)
Received: by 10.68.226.166 with SMTP id rt6mr3436091pbc.23.1328150307557;
        Wed, 01 Feb 2012 18:38:27 -0800 (PST)
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.142.51.2 with SMTP id y2cs303617wfy;
        Wed, 1 Feb 2012 18:38:26 -0800 (PST)
Received: by 10.68.190.101 with SMTP id gp5mr3422149pbc.31.1328150306710;
        Wed, 01 Feb 2012 18:38:26 -0800 (PST)
Received-SPF: softfail (google.com: best guess record for domain of transitioning tiff-bounces@lists.maptools.org does not designate 91.198.169.250 as permitted sender) client-ip=91.198.169.250;
Received: by 10.130.178.1 with POP3 id a1mf901533daf.6;
        Wed, 01 Feb 2012 18:38:26 -0800 (PST)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-s.one.com (mx-s.one.com [91.198.169.250])
	by mail9.b-one.net (Postfix) with ESMTP id 3945B401F0A
	for <info@awaresystems.be>; Thu,  2 Feb 2012 03:22:07 +0100 (CET)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-s.one.com (Postfix) with ESMTP id E2765267694
	for <info@awaresystems.be>; Thu,  2 Feb 2012 02:22:06 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 05A3D1EDAD2;
	Wed,  1 Feb 2012 21:20:48 -0500 (EST)
Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19])
	by lists.maptools.org (Postfix) with ESMTP id 3B7681EDAD2
	for <tiff@lists.maptools.org>; Wed,  1 Feb 2012 20:23:33 -0500 (EST)
Received: from fwd01.aul.t-online.de (fwd01.aul.t-online.de )
	by mailout06.t-online.de with smtp 
	id 1RslOe-0003AF-GC; Thu, 02 Feb 2012 02:23:32 +0100
Received: from sternchen
	(VrjxpUZH8hBLt5sPme0a7KqMUGtEjC2s-t99dDL-ESEOYG4Dpb3Wt7t97yCiIFywuN@[109.91.11.4])
	by fwd01.t-online.de
	with esmtp id 1RslOd-0u3E5g0; Thu, 2 Feb 2012 02:23:31 +0100
Date: Thu, 2 Feb 2012 02:23:31 +0100
From: =?ISO-8859-1?Q?J=FCrgen_Buchm=FCller?= <pullmoll@t-online.de>
To: tiff@lists.maptools.org
Message-Id: <20120202022331.37d2581a.pullmoll@t-online.de>
In-Reply-To: <CAPKW8o3hKn9JXjMTBYU-+WhzEQ62OEYzTh51Pg4BayQODJFT-w@mail.gmail.com>
References: <CAPKW8o3hKn9JXjMTBYU-+WhzEQ62OEYzTh51Pg4BayQODJFT-w@mail.gmail.com>
X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64-pc-linux-gnu)
Mime-Version: 1.0
X-ID: VrjxpUZH8hBLt5sPme0a7KqMUGtEjC2s-t99dDL-ESEOYG4Dpb3Wt7t97yCiIFywuN
X-TOI-MSGID: 7947e5d4-0cd2-45d6-9e29-d902a2d1dc5d
Subject: Re: [Tiff] linking libtiff in ubuntu
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="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Wed, 1 Feb 2012 18:41:20 +0100
Martin Alegre <tin.alegre@gmail.com> wrote:

> g++ -ggdb -ansi -std=3Dc++0x -llibtiff ./src/color.cpp  -I./inc -o
> ./obj/color.o

FWIW the -l is for the linking stage and you generally don't give the
initial lib... name part. In order to link libz.so or libz.a (static),
you specify just -lz, not -llibz

That's not the source of your problem, though.

Did you install the libtiff4-dev package?
	apt-get install libtiff4-dev

HTH
J=FCrgen
-- =

J=FCrgen Buchm=FCller <pullmoll@t-online.de>
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
