Skip to content

[MacOS] DLLNotFoundException: Unable to load shared library 'csfml-audio' or one of its dependencies  #280

Open

Description

@bparvanov

On MacOS 14.6.1 - just installed SFML.Net 2.6.0 nuget package and tried to call

SFML.Audio.SoundBufferRecorder.IsAvailable

The stack trace is too long to fit in the bug description (> 65536 chars), so I uploaded it here: https://nopaste.net/IswI2WzFX5

Activity

  1. eXpl0it3r commented on Jan 8, 2025

    @eXpl0it3r
    Member

    It does find CSFML (/Users/borislav/Projects/VoskTestApp/bin/Debug/net8.0/runtimes/osx-arm64/native/libsfml-audio.2.6.dylib), but then fails to find the referenced vorbisenc and I think I know why...

    Reason: tried: '/Users/borislav/Projects/VoskTestApp/bin/Debug/net8.0/runtimes/osx-arm64/native/vorbisenc.framework/Versions/A/vorbisen' (no such file)
    

    This shouldn't be vorbisen but vorbisenc. I think there has been a mistake when rewriting the rpath reference... 😓

    https://github.com/SFML/CSFML/blob/master/tools/nuget/build.macos.sh#L170

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions