-
Notifications
You must be signed in to change notification settings - Fork 113
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
Broken MacOS distribution #329
Comments
Oof, seems like it has been the case for far too long! Thanks for filing! Looks like we need to set an @almarklein I am not sure if python would break if we add the BTW @lisyarus you can update current install_name_tool -id @rpath/libwgpu_native.dylib libwgpu_native.dylib Can you give it a try and report back, if it indeed does fix the issue for you? |
@rajveermalviya Thanks for a quick response! Yes, this does solve the problem. After running
and the executable linking it runs with no problems. |
Thanks for bringing this to our attention! In wgpu-py we statically bind to the library (using |
New archives |
@rajveermalviya @almarklein Awesome, thank you! |
In the latest release (v0.18.1.3) the macos-aarch64 dynamic binaries (
libwgpu_native.dylib
) fail to load when linking a program to them, statingAs you can see, there is a very suspicious path
/Users/runner/work/wgpu-native/wgpu-native/target/aarch64-apple-darwin/release/deps/libwgpu_native.dylib
in there. (Needless to say, I don't have arunner
user on my mac.)If we check the dependencies of
libwgpu_native.dylib
, we getEverything here seems fine, except for the first entry, which coincides with the error above.
I guess there's an error in the packaging process somewhere?
Update: I checked a few other releases, and it seems that all releases are affected by this, since the very first one (v0.5.2).
The text was updated successfully, but these errors were encountered: