Skip to content

Links against libpng12, conda requirement is for libpng16 #20

Description

@takluyver

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions