-
Notifications
You must be signed in to change notification settings - Fork 23
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
libSDL2 Dependency Issue when setting up on ARM MacOS #380
Comments
So, from what I understand, there may be a hard-coded version in Edit: If we have no say in how |
I just used homebrew to build them then copied them out of the homebrew
directory.
…On Tue, Dec 31, 2024 at 2:20 PM shpaass ***@***.***> wrote:
So, from what I understand, there may be a hard-coded version in
libSDL2_image.dylib, and it needs to be upgraded for jpeg-xl. The
question is how to re-generate them.
@artanin <https://github.com/artanin>, could you please provide the
instructions to reproduce the binaries from your PR? (#191
<#191>)
—
Reply to this email directly, view it on GitHub
<#380 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEI6RR2WTEOXK5JYEV4IE2L2IL4A7AVCNFSM6AAAAABUN3MKNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRWGY4TKMBRGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
So in other words, there was no file |
On my machine, brew installed version 0.11.1 of jpeg-xl; so there is no file This discussion from SDL_image seems relevant SDL_image issue #450. The discussion gives me the impression that the problem isn't on yafc's side of things. |
I remember having some errors like this. Homebrew always runs on latest version and always causes problems with dylib loading. I always copy paste dylib directly into yafc folder or build from source to prevent this kind of issue. It is indeed a big pain for less technical users. |
I ran into a problem with getting the dependencies to load when loading yafc for the first time. I found a workaround, but it wasn't obvious, others might possibly into the same problem.
YAFC version 2.5.0
Possibly related to this issue Failed start on apple silicon mac #90
Setting up YAFC on a fresh system, (Apple OSX, ARM), ran into a System DllNotFoundException, even after installing the SDL2 dependencies per the nice OSX install instructions.
Based on the error message excerpt:
It seemed like there was a mismatch of the jpeg-xl version installed by brew on my system. jpeg-xl was installed by brew in the directory indicated above, but the file was file libjxl.0.11.dylib. I created a symlink libjxl.0.10.dylib -> libjxl.0.11.dylib, and Yafc loaded without issue (yay!). (This was done per ChatGPT's suggestion, I'm not sure if the workaround will cause any bad behavior, probably not).
Seems like the issue is a mismatch of the jpeg-xl latest version with the dependency of libSDL2_image.dylib.
The text was updated successfully, but these errors were encountered: