On Linux, I installed opencv3 3.2.0 from this channel with Python 3.5. ldd libopencv_xobjdetect.so shows me:
libpng12.so.0 => /lib64/libpng12.so.0
I.e. it's linking libpng12 from my system outside the conda env. The package itself specifies a dependency on libpng16 (libpng >=1.6.23,<1.7). As far as I know, conda can't install two versions of libpng in one environment, so this is hard to work around.
On systems with libpng12 installed outside conda, it seems to work correctly. @gamdow discovered this when trying to install on Ubuntu 16.10, which has dropped libpng12 from the repos. conda install opencv3 succeeds, but then the library can't be loaded because libpng12 is missing.
On Linux, I installed
opencv33.2.0 from this channel with Python 3.5.ldd libopencv_xobjdetect.soshows me:I.e. it's linking libpng12 from my system outside the conda env. The package itself specifies a dependency on libpng16 (
libpng >=1.6.23,<1.7). As far as I know, conda can't install two versions of libpng in one environment, so this is hard to work around.On systems with libpng12 installed outside conda, it seems to work correctly. @gamdow discovered this when trying to install on Ubuntu 16.10, which has dropped libpng12 from the repos.
conda install opencv3succeeds, but then the library can't be loaded because libpng12 is missing.