Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591070 - app-text/tesseract-3.04.01 - .../bin/ld: cannot find -l-lOpenCL
Summary: app-text/tesseract-3.04.01 - .../bin/ld: cannot find -l-lOpenCL
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: PATCH
Depends on:
Blocks:
 
Reported: 2016-08-11 20:08 UTC by Dennis Schridde
Modified: 2016-08-14 21:19 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,387.45 KB, text/plain)
2016-08-11 20:08 UTC, Dennis Schridde
Details
tesseract-3.04.01-fix-opencl-ldflags.patch (tesseract-3.04.01-fix-opencl-ldflags.patch,377 bytes, patch)
2016-08-11 20:09 UTC, Dennis Schridde
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2016-08-11 20:08:39 UTC
Created attachment 443094 [details]
build.log

libtool: link: x86_64-pc-linux-gnu-g++ -pipe -O2 -march=bdver3 -std=c++11 -Wl,-O1 -Wl,--hash-style=gnu -o .libs/tesseract tesseract-tesseractmain.o  -l-lOpenCL -Wl,--as-needed ./.libs/libtesseract.so -lrt -llept -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -l-lOpenCL
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:591: tesseract] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-text/tesseract-3.04.01/work/tesseract-3.04.01/api'
Comment 1 Dennis Schridde 2016-08-11 20:09:25 UTC
Created attachment 443096 [details, diff]
tesseract-3.04.01-fix-opencl-ldflags.patch
Comment 2 Thomas Kahle (RETIRED) gentoo-dev 2016-08-14 21:19:39 UTC
Looks great, thanks.  I merged the patch.