Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bparvanov opened this issue Jan 6, 2025 · 1 comment
Labels

Comments

@bparvanov
Copy link

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

@eXpl0it3r
Copy link
Member

eXpl0it3r commented Jan 8, 2025

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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants