Skip to content

OSX/cmake : libxml2 conflict with Gstreamer #398

Description

@avilleret

on OSX, cmake choose libxml2 from Gstreamer package when it is present rather than the one installed with brew
then it fails to build because of missing header

I fixed this issue by manually setting Cmake variable :

LIBXML_INCLUDE_DIR=/usr/local/opt/libxml2/include/libxml2
LIBXML_LIBRARIES=/usr/local/opt/libxml2/lib/libxml2.dylib
LIBXML_XMLLINT_EXECUTABLE=/usr/local/opt/libxml2/bin/xmllint

Obviously the paths could be different depending on where you install it.

Also, I'm not sure this bug should be fixed, if so mark it as won't fix and leave it open for the record.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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