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

libjackserver.so not found bc it is in /usr/lib/arm-linux-gnueabihf #164

Open
Rodgers-PAC-Lab opened this issue Mar 16, 2022 · 3 comments
Open

Comments

@Rodgers-PAC-Lab
Copy link

@Rowanon and I are installing autopilot on a fresh raspberry pi and running into some issues with jack, which I don't think I had with previous versions of the OS.

Basically when we start jackd we get:

pi@rpi09:~ $ jackd -P75 -p16 -t2000 -dalsa -dhw:sndrpihifiberry -P -n3 -s -r192000
jackd: error while loading shared libraries: libjackserver.so.0: cannot open shared object file: No such file or directory

libjackserver.so.0 does exist in directory /usr/lib/arm-linux-gnueabihf, I think because that's where we told waf to put it during the "install jackd from source" option in autopilot setup.

This is a fix:
export LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf

For now this fix is fine, but I wonder, is the new version of Raspi Lite OS looking for these libs in a different place, and if so, should we update the way we tell waf to install them?

@sneakers-the-rat
Copy link
Contributor

ok yes glad you got a fix to work. there are some new oddities in the way that raspios bullseye does sound that I haven't worked out exactly yet (I just added a note to the docs to that effect the other day: https://docs.auto-pi-lot.com/en/latest/stim/sound/jackclient.html )

that sounds like something the linker should have taken care of, but until we figure out a more permanent fix we can add that to .bashrc or something.

but ya widespread issues with Jack in particular, not at my desk atm but I was sort of waiting for the dust to settle first. it has something to do with switching up they way they handle PulseAudio, but still trying to get the lay of the land

@cxrodgers
Copy link
Contributor

sounds good, thanks jonny! We'll add export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/arm-linux-gnueabihf to the end of ~/.bashrc to make this fix "permanent".

Also, sorry, I know this is a serious venue for Autopilot discussion but hearing about pulse audio problems again reminds me of this old linux joke:
Screenshot from 2022-03-17 09-51-17

@sneakers-the-rat
Copy link
Contributor

OK! Keeping this open.

I know this is a serious venue for Autopilot discussion

i will have you know i take shitposting very seriously.

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

No branches or pull requests

3 participants