Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616142 - app-text/tesseract-3.05.00 : /.../ld: cannot find -ltiff
Summary: app-text/tesseract-3.05.00 : /.../ld: cannot find -ltiff
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-20 16:59 UTC by Toralf Förster
Modified: 2017-07-05 10:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,4.87 KB, text/plain)
2017-04-20 16:59 UTC, Toralf Förster
Details
app-text:tesseract-3.05.00:20170420-040725.log (app-text:tesseract-3.05.00:20170420-040725.log,193.42 KB, text/plain)
2017-04-20 16:59 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,11.37 KB, application/x-bzip)
2017-04-20 16:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,18.88 KB, text/plain)
2017-04-20 16:59 UTC, Toralf Förster
Details
environment (environment,170.96 KB, text/plain)
2017-04-20 16:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.33 KB, application/x-bzip)
2017-04-20 16:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,48.46 KB, application/x-bzip)
2017-04-20 16:59 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-04-20 16:59:25 UTC
/bin/sh ../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -Werror=terminate -O2 -pipe -march=native -std=c++11  -Wl,-O1 -Wl,--as-needed -o tesseract tesseract-tesseractmain.o libtesseract.la -ltiff  -lrt -llept -lpthread 
libtool: link: x86_64-pc-linux-gnu-g++ -Werror=terminate -O2 -pipe -march=native -std=c++11 -Wl,-O1 -o .libs/tesseract tesseract-tesseractmain.o  -Wl,--as-needed ./.libs/libtesseract.so -ltiff -lrt -llept -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ltiff
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:596: tesseract] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-text/tesseract-3.05.00/work/tesseract-3.05.00/api'

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named 13.0-libressl-abi32+64_20170419-212006) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Comment 1 Toralf Förster gentoo-dev 2017-04-20 16:59:28 UTC
Created attachment 470492 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-04-20 16:59:31 UTC
Created attachment 470494 [details]
app-text:tesseract-3.05.00:20170420-040725.log
Comment 3 Toralf Förster gentoo-dev 2017-04-20 16:59:34 UTC
Created attachment 470496 [details]
config.log.tbz2
Comment 4 Toralf Förster gentoo-dev 2017-04-20 16:59:38 UTC
Created attachment 470498 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-04-20 16:59:41 UTC
Created attachment 470500 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-04-20 16:59:44 UTC
Created attachment 470502 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-04-20 16:59:47 UTC
Created attachment 470504 [details]
temp.tbz2
Comment 8 Bernard Cafarelli gentoo-dev 2017-07-05 10:12:31 UTC
OK, the patch to add -ltiff in api/ is not needed anymore in 3.05.01 as it needs libtiff unconditionally only on win32. I removed the patch from the list, so 3.05.01 should be fine now with USE="-tiff -opencl"!