-
Notifications
You must be signed in to change notification settings - Fork 1
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
libdir
issues
#3
Comments
Static linking all the libraries isn't an option? |
Sadly this is not possible. Custom native components are supposed to be lightweight for distribution and to keep a small memory footprint. At the very least they all need to link |
Demo repo in https://github.com/KaruroChori/meson-report-error |
Reported as mesonbuild/meson#13931 |
I hope you don't mind if I give potentially outlandish ideas while trying to brainstorm a solution: I have a little experience packaging for a few different Linux distributions, and for AppImage creation. In a packaging script, such as FlatHub, would it be possible, feasible, or practical to: after installing, move the libs to their appropriate directories, and then use patchelf to update where the libraries are being looked for? An example of how I use patchelf for the 0ad AppImage |
While possible, those would be more like workarounds. In short, the pipeline to patch binaries would be very messy if not outright impossible. |
There is a difference in behaviour between the library directory used by meson, and that used by CMake through meson.
On my debian system for example, libraries generated by meson are moved into
/usr/lib/x86...../
which is the right place. CMake via meson instead is placing them in/usr/lib
.There is as similar issue on the
freedesktop 24.08
image of flatpak. Meson places its libraries in/app/lib/
while CMake tries to place them in/app/lib64
which is wrong.This issue is preventing the proper installation of
vs
and to build the flatpak image correctly.The text was updated successfully, but these errors were encountered: