Skip to content
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

Fix X11 system_libs names on Linux #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andreacoradi
Copy link

When building it is unable to find the correct X11 and Xext library files.
It is searching for the lowercase version, but on my system they are called libX11 and libXext.
This PR should fix that.

Previous error log:

error: error: unable to find dynamic system library 'x11' using strategy 'paths_first'. searched paths:
  /nix/store/g3nca8ynriliw6zvgdv0gm8wql7yxjkl-gdb-15.1/lib/libx11.so
  /nix/store/g3nca8ynriliw6zvgdv0gm8wql7yxjkl-gdb-15.1/lib/libx11.a
  /nix/store/shvpkfqpaas60fakhw62hp3xgpfh4kdm-libglvnd-1.7.0/lib/libx11.so
  /nix/store/shvpkfqpaas60fakhw62hp3xgpfh4kdm-libglvnd-1.7.0/lib/libx11.a
  /nix/store/5d4s33ys70ad8q9smw6brdidblpp0j03-libxcb-1.17.0/lib/libx11.so
  /nix/store/5d4s33ys70ad8q9smw6brdidblpp0j03-libxcb-1.17.0/lib/libx11.a
  /nix/store/llfrkl8va8kv49q0ymqwx04apa52mck3-libX11-1.8.10/lib/libx11.so
  /nix/store/llfrkl8va8kv49q0ymqwx04apa52mck3-libX11-1.8.10/lib/libx11.a
  /nix/store/paxx2i7jl4sygzkv1ddqhkgf4m9pn1ap-SDL2-2.30.6/lib/libx11.so
  /nix/store/paxx2i7jl4sygzkv1ddqhkgf4m9pn1ap-SDL2-2.30.6/lib/libx11.a
  /nix/store/9g593pnsm5w1wmafp59bqzanpi1hp2qr-attr-2.5.2/lib/libx11.so
  /nix/store/9g593pnsm5w1wmafp59bqzanpi1hp2qr-attr-2.5.2/lib/libx11.a
  /nix/store/20403s36z5dxrxzp1iaglr6wfmidpigh-libcap-2.70-lib/lib/libx11.so
  /nix/store/20403s36z5dxrxzp1iaglr6wfmidpigh-libcap-2.70-lib/lib/libx11.a
  /nix/store/53l0cknpv10kmvdznwaxx483jl1kn1gd-pulseaudio-17.0/lib/libx11.so
  /nix/store/53l0cknpv10kmvdznwaxx483jl1kn1gd-pulseaudio-17.0/lib/libx11.a
  /nix/store/cpxjynj0s2hrl88l19jhkcg048b54spi-libXau-1.0.11/lib/libx11.so
  /nix/store/cpxjynj0s2hrl88l19jhkcg048b54spi-libXau-1.0.11/lib/libx11.a
  /nix/store/9k20q7az7c7c1jh4vj5phqvxn58iap6i-libXext-1.3.6/lib/libx11.so
  /nix/store/9k20q7az7c7c1jh4vj5phqvxn58iap6i-libXext-1.3.6/lib/libx11.a
  /nix/store/g3nca8ynriliw6zvgdv0gm8wql7yxjkl-gdb-15.1/lib/libx11.so
  /nix/store/g3nca8ynriliw6zvgdv0gm8wql7yxjkl-gdb-15.1/lib/libx11.a
  /nix/store/shvpkfqpaas60fakhw62hp3xgpfh4kdm-libglvnd-1.7.0/lib/libx11.so
  /nix/store/shvpkfqpaas60fakhw62hp3xgpfh4kdm-libglvnd-1.7.0/lib/libx11.a
  /nix/store/5d4s33ys70ad8q9smw6brdidblpp0j03-libxcb-1.17.0/lib/libx11.so
  /nix/store/5d4s33ys70ad8q9smw6brdidblpp0j03-libxcb-1.17.0/lib/libx11.a
  /nix/store/llfrkl8va8kv49q0ymqwx04apa52mck3-libX11-1.8.10/lib/libx11.so
  /nix/store/llfrkl8va8kv49q0ymqwx04apa52mck3-libX11-1.8.10/lib/libx11.a
  /nix/store/paxx2i7jl4sygzkv1ddqhkgf4m9pn1ap-SDL2-2.30.6/lib/libx11.so
  /nix/store/paxx2i7jl4sygzkv1ddqhkgf4m9pn1ap-SDL2-2.30.6/lib/libx11.a
  /nix/store/9g593pnsm5w1wmafp59bqzanpi1hp2qr-attr-2.5.2/lib/libx11.so
  /nix/store/9g593pnsm5w1wmafp59bqzanpi1hp2qr-attr-2.5.2/lib/libx11.a
  /nix/store/20403s36z5dxrxzp1iaglr6wfmidpigh-libcap-2.70-lib/lib/libx11.so
  /nix/store/20403s36z5dxrxzp1iaglr6wfmidpigh-libcap-2.70-lib/lib/libx11.a
  /nix/store/53l0cknpv10kmvdznwaxx483jl1kn1gd-pulseaudio-17.0/lib/libx11.so
  /nix/store/53l0cknpv10kmvdznwaxx483jl1kn1gd-pulseaudio-17.0/lib/libx11.a
  /nix/store/cpxjynj0s2hrl88l19jhkcg048b54spi-libXau-1.0.11/lib/libx11.so
  /nix/store/cpxjynj0s2hrl88l19jhkcg048b54spi-libXau-1.0.11/lib/libx11.a
  /nix/store/9k20q7az7c7c1jh4vj5phqvxn58iap6i-libXext-1.3.6/lib/libx11.so
  /nix/store/9k20q7az7c7c1jh4vj5phqvxn58iap6i-libXext-1.3.6/lib/libx11.a
error: unable to find dynamic system library 'xext' using strategy 'paths_first'. searched paths:
  /nix/store/g3nca8ynriliw6zvgdv0gm8wql7yxjkl-gdb-15.1/lib/libxext.so
  /nix/store/g3nca8ynriliw6zvgdv0gm8wql7yxjkl-gdb-15.1/lib/libxext.a
  /nix/store/shvpkfqpaas60fakhw62hp3xgpfh4kdm-libglvnd-1.7.0/lib/libxext.so
  /nix/store/shvpkfqpaas60fakhw62hp3xgpfh4kdm-libglvnd-1.7.0/lib/libxext.a
  /nix/store/5d4s33ys70ad8q9smw6brdidblpp0j03-libxcb-1.17.0/lib/libxext.so
  /nix/store/5d4s33ys70ad8q9smw6brdidblpp0j03-libxcb-1.17.0/lib/libxext.a
  /nix/store/llfrkl8va8kv49q0ymqwx04apa52mck3-libX11-1.8.10/lib/libxext.so
  /nix/store/llfrkl8va8kv49q0ymqwx04apa52mck3-libX11-1.8.10/lib/libxext.a
  /nix/store/paxx2i7jl4sygzkv1ddqhkgf4m9pn1ap-SDL2-2.30.6/lib/libxext.so
  /nix/store/paxx2i7jl4sygzkv1ddqhkgf4m9pn1ap-SDL2-2.30.6/lib/libxext.a
  /nix/store/9g593pnsm5w1wmafp59bqzanpi1hp2qr-attr-2.5.2/lib/libxext.so
  /nix/store/9g593pnsm5w1wmafp59bqzanpi1hp2qr-attr-2.5.2/lib/libxext.a
  /nix/store/20403s36z5dxrxzp1iaglr6wfmidpigh-libcap-2.70-lib/lib/libxext.so
  /nix/store/20403s36z5dxrxzp1iaglr6wfmidpigh-libcap-2.70-lib/lib/libxext.a
  /nix/store/53l0cknpv10kmvdznwaxx483jl1kn1gd-pulseaudio-17.0/lib/libxext.so
  /nix/store/53l0cknpv10kmvdznwaxx483jl1kn1gd-pulseaudio-17.0/lib/libxext.a
  /nix/store/cpxjynj0s2hrl88l19jhkcg048b54spi-libXau-1.0.11/lib/libxext.so
  /nix/store/cpxjynj0s2hrl88l19jhkcg048b54spi-libXau-1.0.11/lib/libxext.a
  /nix/store/9k20q7az7c7c1jh4vj5phqvxn58iap6i-libXext-1.3.6/lib/libxext.so
  /nix/store/9k20q7az7c7c1jh4vj5phqvxn58iap6i-libXext-1.3.6/lib/libxext.a
  /nix/store/g3nca8ynriliw6zvgdv0gm8wql7yxjkl-gdb-15.1/lib/libxext.so
  /nix/store/g3nca8ynriliw6zvgdv0gm8wql7yxjkl-gdb-15.1/lib/libxext.a
  /nix/store/shvpkfqpaas60fakhw62hp3xgpfh4kdm-libglvnd-1.7.0/lib/libxext.so
  /nix/store/shvpkfqpaas60fakhw62hp3xgpfh4kdm-libglvnd-1.7.0/lib/libxext.a
  /nix/store/5d4s33ys70ad8q9smw6brdidblpp0j03-libxcb-1.17.0/lib/libxext.so
  /nix/store/5d4s33ys70ad8q9smw6brdidblpp0j03-libxcb-1.17.0/lib/libxext.a
  /nix/store/llfrkl8va8kv49q0ymqwx04apa52mck3-libX11-1.8.10/lib/libxext.so
  /nix/store/llfrkl8va8kv49q0ymqwx04apa52mck3-libX11-1.8.10/lib/libxext.a
  /nix/store/paxx2i7jl4sygzkv1ddqhkgf4m9pn1ap-SDL2-2.30.6/lib/libxext.so
  /nix/store/paxx2i7jl4sygzkv1ddqhkgf4m9pn1ap-SDL2-2.30.6/lib/libxext.a
  /nix/store/9g593pnsm5w1wmafp59bqzanpi1hp2qr-attr-2.5.2/lib/libxext.so
  /nix/store/9g593pnsm5w1wmafp59bqzanpi1hp2qr-attr-2.5.2/lib/libxext.a
  /nix/store/20403s36z5dxrxzp1iaglr6wfmidpigh-libcap-2.70-lib/lib/libxext.so
  /nix/store/20403s36z5dxrxzp1iaglr6wfmidpigh-libcap-2.70-lib/lib/libxext.a
  /nix/store/53l0cknpv10kmvdznwaxx483jl1kn1gd-pulseaudio-17.0/lib/libxext.so
  /nix/store/53l0cknpv10kmvdznwaxx483jl1kn1gd-pulseaudio-17.0/lib/libxext.a
  /nix/store/cpxjynj0s2hrl88l19jhkcg048b54spi-libXau-1.0.11/lib/libxext.so
  /nix/store/cpxjynj0s2hrl88l19jhkcg048b54spi-libXau-1.0.11/lib/libxext.a
  /nix/store/9k20q7az7c7c1jh4vj5phqvxn58iap6i-libXext-1.3.6/lib/libxext.so
  /nix/store/9k20q7az7c7c1jh4vj5phqvxn58iap6i-libXext-1.3.6/lib/libxext.a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant