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

use system chdman if available, fails to run due to libSDL2 dependency #1398

Open
acuteaura opened this issue Dec 14, 2024 · 0 comments
Open
Labels
potential-bug A potential issue that needs confirmation and/or triage

Comments

@acuteaura
Copy link

acuteaura commented Dec 14, 2024

Paste the command

npx igir@latest copy zip report --dat DAT/*.zip --input Oxy/ --output Emulation/ --dir-dat-name

Describe the bug

chdman is available in path, but igir attempts to use one shipped via npm and falls flat on its face, because NixOS

ERROR: Oxy/<snip>.chd: failed to parse file: /home/nas/.npm/_npx/0d8028b15d717946/node_modules/@emmercm/chdman-linux-x64/chdman: error
while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory

Expected behavior

igir checks path for tools it may need and prefers to use those; or ships static builds

Debug logs

N/A

DAT(s) used

N/A

igir version

v3.0.1

Node.js version

nixpkgs#nodejs_20

Operating system

NixOS 24.05 (Uakari)

Additional context

No response

@acuteaura acuteaura added the potential-bug A potential issue that needs confirmation and/or triage label Dec 14, 2024
@acuteaura acuteaura changed the title use system chdman if available, fails to run due to libSDL dependency use system chdman if available, fails to run due to libSDL2 dependency Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
potential-bug A potential issue that needs confirmation and/or triage
Projects
None yet
Development

No branches or pull requests

1 participant