Skip to content

Unable to load custom librdkafka builds on OSX #570

Open
@mhowlett

Description

@mhowlett

On OSX, calling Library.Load(path) with an absolute path ignores the absolute path and loads the librdkafka.dylib included in the librdkafka.redist package referenced by Confluent.Kafka. This is the case even if the librdkafka.dylib we want to load is renamed to something else. The only way I've been able to load a custom build of librdkafka is to remove the librdkafka.redist dependency of Confluent.Kafka. Library.Load on OSX uses dlopen. The docs here https://www.unix.com/man-page/osx/3/dlopen/ suggest this behavior is unexpected. I assume the CoreCLR is doing something special here (not investigated).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions