update raylib dependency to not break with macos framework dependency#81
Merged
silbinarywolf merged 11 commits intomainfrom Apr 12, 2026
Merged
update raylib dependency to not break with macos framework dependency#81silbinarywolf merged 11 commits intomainfrom
silbinarywolf merged 11 commits intomainfrom
Conversation
Owner
Author
|
If I enable 04-09 19:11:40.898 17611 17611 W NativeActivity: NativeActivity LoadNativeLibrary("/data/app/~~dfWuo3M7BmjirTuh9tloiQ==/com.zig.raylib-uWKnM6gpevUNznuOYPvjBA==/lib/x86_64/libmain.so") failed: dlopen failed: cannot locate symbol "__real_fopen" referenced by "/data/app/~~dfWuo3M7BmjirTuh9tloiQ==/com.zig.raylib-uWKnM6gpevUNznuOYPvjBA==/lib/x86_64/libmain.so"...
04-09 19:11:40.898 17611 17611 D AndroidRuntime: Shutting down VM
04-09 19:11:40.899 17611 17611 E AndroidRuntime: FATAL EXCEPTION: main
04-09 19:11:40.899 17611 17611 E AndroidRuntime: Process: com.zig.raylib, PID: 17611
04-09 19:11:40.899 17611 17611 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Unable to load native library "/data/app/~~dfWuo3M7BmjirTuh9tloiQ==/com.zig.raylib-uWKnM6gpevUNznuOYPvjBA==/lib/x86_64/libmain.so": dlopen failed: cannot locate symbol "__real_fopen" referenced by "/data/app/~~dfWuo3M7BmjirTuh9tloiQ==/com.zig.raylib-uWKnM6gpevUNznuOYPvjBA==/lib/x86_64/libmain.so"... |
6139bc7 to
145e534
Compare
1358d46 to
4f68a22
Compare
Owner
Author
|
Looks like Raylib on Android now requires linker flags: # Wrap fopen at link time so all code (including third-party libs) goes
# through __wrap_fopen, which handles Android APK asset loading
LDFLAGS += -Wl,--wrap=fopenhttps://github.com/raysan5/raylib/blob/master/src/Makefile#L617-L619 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue: raylib-zig/raylib-zig#318