Linking libraries (here: libtiff)

Linking libraries (here: libtiff)

Posted by: Arancaytar
Posted on: 2007-05-23 06:58:00

I'm putting this here instead of the 3rd party software forum, because I seem to have a more general problem. I'm trying to compile a software package that requires libtiff (Tesseract OCR, to be specific), and am having trouble figuring out how to link it with the libtiff library during the configure process.

I know libtiff is installed on the server, but after I couldn't get it to work I compiled it in my own directory.

This is the configure command I used (as advised on Groklaw):

In reply to:

./configure --with-libtiff=/usr/lib


And after that didn't work:

In reply to:

./configure --with-libtiff=/home/myusername/libtiff/lib


However, the output contains the lines:

In reply to:


checking for Leffler libtiff library... checking linking with /home/myusername/libtiff/lib/libtiff.a... no
configure: WARNING: TIFF support is disabled


I'm not even sure what the .a file does, but I know that it exists at the path shown in the output.

Can someone with more experience in compiling and installing give me some hints here?

Re: Linking libraries (here: libtiff)

Posted by: nathana5
Posted on: 2008-01-08 08:15:00

I installed libtiff and then used the latest version of tesseract and installed it with just ./configure and it found libtiff and linked with it without any specific directive.

see here:
A Billion Billion
Edited by nathana5 on 01/08/08 08:19 AM (server time).

Tags: replylibparty softwaresoftware packageusrlibraries