-
Notifications
You must be signed in to change notification settings - Fork 8
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
Can't start the demo client #82
Comments
@carlotm |
Sorry, I forgot to mention I was in the nix shell (hard to see but there's I tried |
What is the outcome if, within |
Same error:
Don't know if it helps, but if I try to build the client outside of the nix shell, I get this:
|
It seems to me the external dependencies provided by the flake are not enough in this particular case. Raylib seems to be missing x11 and I remember we had a similar problem when @z-silver tried to build the project (he uses Guix). Could you try providing the dependencies yourself for Raylib, at least for us to test the hypothesis? You can check all the provided dependencies in |
@EduardoLR10 thanks for the help, I double checked the deps and I have it all installed.
It may be a bug with my versions of those libraries, no idea :( |
Let's wait for the DevOps professional @schonfinkel. Sorry I could not help more. |
I'll check this out today, thanks for reporting this @carlotm! EDIT: First question, are you on NixOS, Linux with Nix or MacOS? |
@carlotm Ok, so I've got a friend who also runs Debian + Nix to reproduce this and he got into the same issue. @EduardoLR10 I'll see if I can finally make a pure build of the client as well so we can avoid this (and similar issues) entirelly. I just noticed zig2nix has |
@schonfinkel ah, I am running X11 |
@carlotm I've managed to make the client build with pure Nix, that will solve this and other reprocibility issues in the future. It's being tracked in #83. Also the root cause for the impure build seems to be that the client is trying to pick your system's libs instead of the devshell ones. @EduardoLR10 I'll need your help to add assets the in the client build, check the picture there in the PR. |
@schonfinkel nice! (I don't know if #83 is test-ready on a Debian 12) this is what I tried, in order: Command:
command:
command:
|
@schonfinkel well, that's embarassing, I thought the Building works, but when I try to launch the client:
command: libraylib.so.500 => /nix/store/kk0zqkws8ib0g6zyngxfgm3k1f7lyj5r-raylib-5.0/lib/libraylib.so.500 (0x00007ffff7c00000)
libc.so.6 => /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/libc.so.6 (0x00007ffff7a07000)
/nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/ld-linux-x86-64.so.2 => /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib64/ld-linux-x86-64.so.2 (0x00007ffff7fc6000)
libm.so.6 => /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/libm.so.6 (0x00007ffff7ed7000)
libpthread.so.0 => /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/libpthread.so.0 (0x00007ffff7ed2000)
libOpenGL.so.0 => /nix/store/ymhcg6x5jrw3hx8ik1cji6awiybgp9f7-libglvnd-1.7.0/lib/libOpenGL.so.0 (0x00007ffff7ea3000)
libGLX.so.0 => /nix/store/ymhcg6x5jrw3hx8ik1cji6awiybgp9f7-libglvnd-1.7.0/lib/libGLX.so.0 (0x00007ffff7e6f000)
libGLU.so.1 => /nix/store/ly5p7zz86gb19f0qk60rrylqxjs3qkc4-glu-9.0.3/lib/libGLU.so.1 (0x00007ffff798f000)
libglfw.so.3 => /nix/store/dkr1qj53h73z9mnk2wq3x4f4w3wk7ag3-glfw-3.4/lib/libglfw.so.3 (0x00007ffff7908000)
libGLdispatch.so.0 => /nix/store/ymhcg6x5jrw3hx8ik1cji6awiybgp9f7-libglvnd-1.7.0/lib/libGLdispatch.so.0 (0x00007ffff784f000)
libX11.so.6 => /nix/store/qrj5f1mb08k5jg7y9ikzb1njli0gvmxz-libX11-1.8.10/lib/libX11.so.6 (0x00007ffff7703000)
libXext.so.6 => /nix/store/hpd1dss7lmrywlr37vncyzbhzp6rgri5-libXext-1.3.6/lib/libXext.so.6 (0x00007ffff7e58000)
libstdc++.so.6 => /nix/store/97f3gw9vpyxvwjv2i673isvg92q65mwn-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007ffff7400000)
libgcc_s.so.1 => /nix/store/97f3gw9vpyxvwjv2i673isvg92q65mwn-gcc-13.3.0-lib/lib/libgcc_s.so.1 (0x00007ffff76de000)
librt.so.1 => /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/librt.so.1 (0x00007ffff7e51000)
libdl.so.2 => /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/libdl.so.2 (0x00007ffff76d9000)
libXrandr.so.2 => /nix/store/3c603pkfh9fq13lrm6rdqynb7xxwazv7-libXrandr-1.5.4/lib/libXrandr.so.2 (0x00007ffff76cc000)
libXinerama.so.1 => /nix/store/93mwaajfzq22hqayzmnniq44xw1hjlqs-libXinerama-1.1.5/lib/libXinerama.so.1 (0x00007ffff76c7000)
libX11-xcb.so.1 => /nix/store/qrj5f1mb08k5jg7y9ikzb1njli0gvmxz-libX11-1.8.10/lib/libX11-xcb.so.1 (0x00007ffff76c2000)
libXrender.so.1 => /nix/store/566jyp236h118ad005mxqs7sb9ivv4yj-libXrender-0.9.11/lib/libXrender.so.1 (0x00007ffff76b3000)
libXcursor.so.1 => /nix/store/ckfsxyla4krxn4zdlmxkp6lk8nsscr5v-libXcursor-1.2.2/lib/libXcursor.so.1 (0x00007ffff76a6000)
libXi.so.6 => /nix/store/5lq743a2jp3v4kgr80y0sw8jr70pl6gj-libXi-1.8.2/lib/libXi.so.6 (0x00007ffff7692000)
libXxf86vm.so.1 => /nix/store/f5gdx2x7pir84srhcqzqrpj4i05h34rg-libXxf86vm-1.1.5/lib/libXxf86vm.so.1 (0x00007ffff768a000)
libxcb.so.1 => /nix/store/b4ph9mwdv628db2vqhhhp3azalq6cwbq-libxcb-1.17.0/lib/libxcb.so.1 (0x00007ffff73d4000)
libXfixes.so.3 => /nix/store/wfqs8h2mf4ib7f1phpsgv0b20xny9zzl-libXfixes-6.0.1/lib/libXfixes.so.3 (0x00007ffff7680000)
libXau.so.6 => /nix/store/246p9h3zgpnbx7473glpcah5q09xklgh-libXau-1.0.11/lib/libXau.so.6 (0x00007ffff767b000)
libXdmcp.so.6 => /nix/store/gznynhg983zzpw55dkn8pkxi1nhqhkj6-libXdmcp-1.1.5/lib/libXdmcp.so.6 (0x00007ffff7673000) |
Hi,
I am following the README to start the demo.
The postgresql db and the server starts correctly with no errors.
The client fails with:
Any idea? I am on Debian 12 (stable)
Cheers!
The text was updated successfully, but these errors were encountered: