On Donnerstag, 4. November 2021 17:43:39 CET Sawyer Bergeron wrote: > That does seem to be the case, > > ldd (which qjackctl) | grep jack > > > > libjack.so.0 => /usr/lib/pipewire-0.3/jack/libjack.so.0 > > > > (0x00007f3af17ae000) > > ldd (which linuxsampler) | grep jack > > > > libjack.so.0 => /usr/lib/libjack.so.0 (0x00007f603e3cc000) > > This is rather strange. Those other applications aren't different from the > ones that I ran directly on top of normal jack2, how is linuxsampler doing > library discovery here? > I'm reasonably confident there isn't any compile time pipewire-specific > stuff, since when switching from jack to pipewire I didn't have to > reinstall any of these packages. I'm using the pipewire-jack-dropin package > that gives extra config args to ld: > https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pipewire-dropin
I haven't looked into pipewire before. But from what I see (not verified) they solved it like this: JACK client apps are supposed to link against the pipewire version of the JACK client lib (i.e. /usr/lib/pipewire-0.3/jack/ libjack.so.0) instead of the official JACK client lib (i.e. /usr/lib/ libjack.so.0). And yes, pipewire-jack-dropin apparently is intended to make this working for existing JACK clients as well without recompiling them, by installing a config file to /etc/ld.so.conf.d/ which in turn would override/remap the linker path to the JACK client lib. But your other apps are apparently not using that ld.so.conf.d mechanism which ldd output proofs. They are directly linked to pipewire's lib instead. So chances are that something with your pipewire-jack-dropin is incorrect. It may be a path has simply changed for instance (e.g. there is pipewire version number in the path). So you either figure out what's wrong with the ld.so.conf.d file, or you recompile LS and replace in configure.ac the line PKG_CHECK_MODULES(JACK, jack, have_jack=1, have_jack=0) to search and link against pipewire's lib directly at compile time instead. You might also check what other audio apps are doing at compile time. Probably they already changed their configure script to search for both, the official JACK and pipewire's JACK and pick automatically either one available at compile time. CU Christian _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel