| Summary: | sci-libs/gdal-1.10.1 USE=opencl - configure: ld: cannot find -lOpenCL | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dainius Masiliūnas <pastas4> |
| Component: | [OLD] Library | Assignee: | Sci-geo Project <sci-geosciences> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge info
build log config log |
||
|
Description
Dainius Masiliūnas
2014-12-02 22:47:40 UTC
1) Please attach the entire build log to this bug report. 2) Please post your `emerge --info' output in a comment. Created attachment 390822 [details]
emerge info
(In reply to Jeroen Roovers from comment #1) > 1) Please attach the entire build log to this bug report. That and additionally, attach the config.log to this bug report. Created attachment 390878 [details]
build log
Created attachment 390880 [details]
config log
Aha, looks like I found the reason why. The file /usr/lib64/libOpenCL.so exists, but it's pointing to "OpenCL/vendors/amd/libOpenCL.so.1", which doesn't exist. Running `eselect opencl set 1` (of 1, there are no other providers) makes it work (pointing to "OpenCL/vendors/mesa/libOpenCL.so.1"). On this machine I had fglrx installed, then unmerged it to use the radeon driver, so maybe that's related to why there was nothing selected in eselect opencl? Version is not in tree anymore. Amy |