ha, maybe for these runtime missing libs I can run nix-shell -p xorg.libXbla and run ./result/bin/my_app inside? should allow to troubleshoot faster (I haven't tested this yet)
Post
ha, maybe for these runtime missing libs I can run nix-shell -p xorg.libXbla and run ./result/bin/my_app inside? should allow to troubleshoot faster (I haven't tested this yet)
@corpsmoderne Is nix build -j12 an option? 😊
can you ldd ./result/bin/my_app and get "Not found" on the missing libs, or is the result not an ELF binary ?
@colin_mcmillen considering the noise of my fan it already takes all the resources it can find 😅
I already tried ldd, all the listed libraries are found. One of the crates I use must do dlopen's of it's own and it's what crashes 😥
ha, maybe for these runtime missing libs I can run nix-shell -p xorg.libXbla and run ./result/bin/my_app inside? should allow to troubleshoot faster (I haven't tested this yet)
ok now I'm stuck 😥
if I try to run my app it crashes instantly with:
> Library libxkbcommon-x11.so could not be loaded.
I've added libxkbcommon to buildInputs.
If I run $ find /nix/store/ | grep libxkbcommon-x11 , it find several instances of libxkbcommon-x11.so , for example:
/nix/store/klv07fh03501djj4q146z6pl7ywc550w-libxkbcommon-1.11.0/lib/libxkbcommon-x11.so
So I guess I have to fix the LD_LIBRARY_PATH of my package but I'm not sure how?
#nix
I found this which may be helpful: https://gist.github.com/TheSirC/8fc34ba9143c8fe4f0b1962f4d7225df
A space for Bonfire maintainers and contributors to communicate