-
Notifications
You must be signed in to change notification settings - Fork 77
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
musl libc support #1725
Comments
The message indicates the functions are referenced by the vendored You can set |
I see, I think the way this is typically done to avoid portability issues is to add the lua source code instead of a pre-compiled binary for each OS. I tried this:
But the same thing still happens |
The pre-compiled library is just a convenience for developers and our build infrastructure.
Did you forgot to delete your CMake cache or the build folder? CMake caches the found libraries and hence will continue to use the (wrong) one it found before. |
Does not seem to make a difference, still the same error. I have zero knowledge of cmake so not sure but this time it did try to link s25client first, before s25edit. I was able to get it to successfully link s25client by adding So if you care to support musl it looks like: link And if you don't care to support musl feel free to close this issue. |
To be clear: You did a clean configure by deleting the whole build folder or at least the
So linking s25client did work but s25edit did not showing the lua error? Again I can't see how as they both use the same dependency.
That seems to make sense
As mentioned this only happens when using the prebuilds which are fully optional. However I do agree to make this opt-in rather than opt-out. |
I thought I did exactly this, but I must have messed something up because I just did it again and this time it worked, my bad then excuse me.
This was definitely the case. Because I got the error but also a working s25client. I guess my messing with the CMakeLists.txt files to add libexecinfo made the difference somehow. |
System is voidlinux, libc is musl
I don't know what library these
_chk
versions of functions come from but cmake doesn't seem to be configured right because it doesn't check that it's installed during configure.The text was updated successfully, but these errors were encountered: