J.A.C.K.
评价数不足
How to run JACK on linux
由 c4llv07e 制作
Fix errors with the linux version
   
奖励
收藏
已收藏
取消收藏
TL;DR
Just install nas [radscan.com]
Problem
The program crashes at startup without any errors.
If you run it in the terminal, it prints error
error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory

libaudio.so.2 is part of the nas library (Network Audio System), so we need to download it.
Solution
If you are using debian (Min, Ubuntu, etc) or fedora based distros, you can just install it from the repos, it is already there:
sudo apt/dnf install nas libaudio2
(note: in the Ubuntu repos, the package is called libaudio2, so you should download it too)

If you are using arch-based distros, there is no nas package in the main repos, you need to install it from the AUR.
I'll use yay for example:
yay -S nas

If you are using another distro not mentioned above you can compile it by yourself
or download binary from the official website [radscan.com] (direct download link[downloads.sourceforge.net])
and place it either near the executable file or in /usr/lib

If you have any other problems, fell free to ask me. I'll try to help with that.
For developers
Please add libaudio.so.2 to the linux depot, nas is not installed by default on many distros.
14 条留言
ment0 9 月 7 日 下午 2:07 
I had a subsequent problem running jack on mxlinux (debian based).
libpng was missing.
https://askubuntu.com/questions/1404213/install-libpng12-on-ubuntu-22-04
The answer here fixed it for me.
You need to download en unpack the sources and compile them.
Ninjabubby 2024 年 12 月 24 日 下午 10:02 
You have to add libaudio.so.2 and libaudio.so.2.4 to the JACK root folder for it to work now
Mauzki フェネック 2024 年 12 月 9 日 上午 4:21 
Another way of doing this is just running it in proton
assembly enjoyer 2024 年 11 月 13 日 下午 6:48 
seems like the problem is back despite having already installed libaudio and even after trying to reinstall libaudio.

"/steamapps/common/JACK/Jack: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory" is the error the terminal gives.
Logidroid 2024 年 8 月 31 日 下午 3:09 
I found the problem without knowing how to solve it:

It's really too weird because I have to install it on my disk where my System Arch Linux is installed and if I install it elsewhere, well bam I don't want to start with steam.

so yes how to solve this problem also ? :Quack_Quack_Boom:
Logidroid 2024 年 8 月 31 日 下午 2:49 
Yesterday I managed to solve the launch problem for Arch Linux with the following command:

yay -S nas


Except that now a day later I am forced to go to the local J.A.C.K files and launch the .BIN manually...

How to solve this problem ?
Ninjabubby 2024 年 8 月 9 日 下午 6:48 
Thank you so much! I am pretty new to linux and I had been trying to fix this for days!
assembly enjoyer 2024 年 5 月 3 日 上午 7:39 
crazy this is still an issue lmao but "sudo apt install libaudio2" worked for me on Mint XFCE
Mystic Melody 2001 2023 年 12 月 28 日 下午 2:16 
Hmm never mind that, I do think I have the libaudio.so.2. But all I'm getting form journalctl is "jack.exe: cannot execute binary file" not super helpful :turnerfacepalm: At lest I can run the non Steam jack
Mystic Melody 2001 2023 年 12 月 28 日 上午 4:23 
Hmm still didn't work, it seems to be getting libaudio2:amd64 not libaudio.so.2