Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584478 - media-libs/opencv-3.1.0-r4: ld: library not found for -lzlib
Summary: media-libs/opencv-3.1.0-r4: ld: library not found for -lzlib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-29 19:50 UTC by *
Modified: 2016-11-11 10:55 UTC (History)
0 users

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


Attachments
build.log (build.log.xz,6.23 KB, application/x-xz)
2016-05-29 19:51 UTC, *
Details
ebuild patch (ebuild.patch,715 bytes, patch)
2016-05-29 19:54 UTC, *
Details | Diff
cmake patch (opencv-3.1.0-libs.patch,1.86 KB, patch)
2016-05-29 19:55 UTC, *
Details | Diff
ebuild patch (opencv-3.1.0-r4.ebuild,7.91 KB, text/plain)
2016-07-09 05:36 UTC, *
Details
cmake patch (opencv-3.1.0-libs.patch,1.86 KB, patch)
2016-07-09 05:36 UTC, *
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description * 2016-05-29 19:50:29 UTC
My system is OS X El Capitan (10.11.5).
I'm using an installation built with a successful bootstrap from bug 564814.
Emerging media-libs/opencv-3.1.0-r1 fails on line 446:

ld: library not found for -lzlib

It has the same problem with tiff etc. I've attached a patch, though I suspect the correct fix is at a higher level.

It also has trouble finding the openexr includes and libs, which this doesn't fix.

Reproducible: Always
Comment 1 * 2016-05-29 19:51:16 UTC
Created attachment 435704 [details]
build.log
Comment 2 * 2016-05-29 19:54:29 UTC
Created attachment 435706 [details, diff]
ebuild patch
Comment 3 * 2016-05-29 19:55:24 UTC
Created attachment 435708 [details, diff]
cmake patch
Comment 4 * 2016-05-29 19:57:34 UTC
The ebuild patch also includes a fix from bug 423679, where the install fails with QA Notices.
Comment 5 * 2016-07-09 05:36:22 UTC
Created attachment 440110 [details]
ebuild patch
Comment 6 * 2016-07-09 05:36:57 UTC
Created attachment 440112 [details, diff]
cmake patch
Comment 7 Jonathan Scruggs (RETIRED) gentoo-dev 2016-11-11 10:55:28 UTC
I added this patch to the r6 update. This should be fixed now. Thanks for reporting this.