Run on linux fails
See original GitHub issueBug Report
What’s the issue you encountered?
.Net do not find libx11 on linux
How can the issue be reproduced?
running ryujinx
Log file
39478: find library=libX11.so [0]; searching
39478: search cache=/etc/ld.so.cache
39478: search path=/lib64:/usr/lib64 (system search path)
39478: trying file=/lib64/libX11.so
39478: trying file=/usr/lib64/libX11.so
39478:
39478: find library=liblibX11.so [0]; searching
39478: search cache=/etc/ld.so.cache
39478: search path=/lib64:/usr/lib64 (system search path)
39478: trying file=/lib64/liblibX11.so
39478: trying file=/usr/lib64/liblibX11.so
39478:
39478: find library=libX11 [0]; searching
39478: search cache=/etc/ld.so.cache
39478: search path=/lib64:/usr/lib64 (system search path)
39478: trying file=/lib64/libX11
39478: trying file=/usr/lib64/libX11
39478:
39478: find library=liblibX11 [0]; searching
39478: search cache=/etc/ld.so.cache
39478: search path=/lib64:/usr/lib64 (system search path)
39478: trying file=/lib64/liblibX11
39478: trying file=/usr/lib64/liblibX11
39478:
Unhandled exception. 00:00:00.006 |W| Application GetWindowScaleFactor: Couldn't determine monitor DPI: Wayland not yet supported
System.DllNotFoundException: Unable to load shared library 'libX11' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibX11: cannot open shared object file: No such file or directory
at Ryujinx.Program.XInitThreads()
at Ryujinx.Program.Main(String[] args) in D:\a\Ryujinx\Ryujinx\Ryujinx\Program.cs:line 104
Abortado (`core' generado)
Environment?
- Ryujinx version: master
- System Specs:
- OS: Fedora 36
- CPU: i7
- GPU: Nvidia
- RAM: 32GB
- Applied Mods : No
Additional context?
Can be fixed with:
sudo ln -s /usr/lib64/libX11.so.6 /usr/lib64/libX11.so
Additional info about your environment:
Probably related with linux installation, not sure if lib search can be modified from ryujinx
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Bash: run command2 if command1 fails
If anybody needs to actually know how to run command 2 if command 1 fails, this is a simple explanation: cmd1 || cmd2...
Read more >How to fix a "Command not found" error in Linux
It's frequently used when running commands to find the command executable. In this tutorial, you learned five ways to fix a "Command not...
Read more >linux - Command scheduled with `at` fails but gives no error
I recently learned about the at command in Unix system. Let's say I want a Python script (that might crash) to run 2...
Read more >Linux make fails on first run, succeeds on second run
When I run make , the first run always fails with Error 1 , but the second run compiles as expected. The first...
Read more >Game won't run on Linux/Steam, error message about ...
I've just installed Steam and tried this, and got as far as installing the STO launcher, but when the launcher starts I get...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@cat-master21 fix the world is not a duty for ryujinx. If some distros only include a symbolic link in a devel package the sdl2 package should be aware of that and look for the right library name. this is a problem with sdl2 package for some linux distros
Well my pr didn’t get merged and I think the
lnsolution should be in the website possibly in the faq page