Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546356 - app-text/tesseract-3.03_rc1-r1[-tiff] undefined reference to `TIFFReadRGBAImageOriented'
Summary: app-text/tesseract-3.03_rc1-r1[-tiff] undefined reference to `TIFFReadRGBAIma...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Kahle (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-12 12:59 UTC by Märt Bakhoff
Modified: 2015-04-20 19:35 UTC (History)
1 user (show)

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


Attachments
build.log with -tiff (build.log,618.00 KB, text/x-log)
2015-04-12 12:59 UTC, Märt Bakhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Märt Bakhoff 2015-04-12 12:59:56 UTC
Created attachment 401092 [details]
build.log with -tiff

media-libs/leptonica-1.71-r1::gentoo  USE="jpeg png zlib -gif -jpeg2k -static-libs {-test} -tiff -utils -webp" 

app-text/tesseract-3.03_rc1-r1::gentoo  USE="jpeg opencl osd png scrollview -doc -examples -static-libs -tiff -webp"

/bin/sh ../libtool --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -O2 -pipe -std=c++11  -Wl,-O1 -Wl,--as-needed -o tesseract tesseract-tesseractmain.o libtesseract.la -lOpenCL  -lrt -llept -lpthread 
libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -std=c++11 -Wl,-O1 -o .libs/tesseract tesseract-tesseractmain.o  -Wl,--as-needed ./.libs/libtesseract.so -lOpenCL -lrt -llept -lpthread
./.libs/libtesseract.so: undefined reference to `TIFFReadRGBAImageOriented'
./.libs/libtesseract.so: undefined reference to `TIFFGetField'
./.libs/libtesseract.so: undefined reference to `TIFFCleanup'
./.libs/libtesseract.so: undefined reference to `TIFFFdOpen'
./.libs/libtesseract.so: undefined reference to `TIFFReadDirectory'
./.libs/libtesseract.so: undefined reference to `TIFFGetFieldDefaulted'
./.libs/libtesseract.so: undefined reference to `TIFFReadScanline'
./.libs/libtesseract.so: undefined reference to `TIFFScanlineSize'
collect2: error: ld returned 1 exit status

building with USE +tiff succeeds.
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2015-04-20 19:35:53 UTC
Good catch.  If you wan't USE="opencl" then you need tiff.  Should be fixed now.
I hope I thought of all eventualities.

+  20 Apr 2015; Thomas Kahle <tomka@gentoo.org> tesseract-3.03_rc1-r1.ebuild:
+  opencl requires tiff (bug 546356)