Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: davidv on 28 January 2022, 19:40:52

Title: ardour and tenacity fail to launch with libSoundTouch.so error
Post by: davidv on 28 January 2022, 19:40:52
Hello,

Starting yesterday (could've been happening earlier and I hadn't tried), I cannot launch ardour6 or tenacity. Both throw the same error:

Code: [Select]
error while loading shared libraries: libSoundTouch.so.1: cannot open shared object file: No such file or directory

This is happening on two different machines running artix.

I've tried reinstalling each program, and reinstalling the package "soundtouch" which appears to ship this library, but no luck.

Anybody have any ideas?
Title: Re: ardour and tenacity fail to launch with libSoundTouch.so error
Post by: strajder on 28 January 2022, 19:45:21
Read the announcements (https://artixlinux.org/news.php), search the forum (https://forum.artixlinux.org/index.php/topic,3582.html).
Title: Re: ardour and tenacity fail to launch with libSoundTouch.so error
Post by: davidv on 28 January 2022, 20:04:07
I don't think the ffmpeg issue is actually related.

Tried the
Code: [Select]
sudo pacman -Sy ffmpeg-compat-58
fix on my laptop, rebooted, but still not able to open ardour6.

Anyway, ffmpeg isn't a dependency of any of these programs, and I'm having no problems watching (eg Youtube) or recording (eg OBS) videos; I just can't open audio recording software. I get that it's a bit of a coincidence that an audio package is having issues at the same time as ffmpeg, but right now I don't see them having the same cause.

Meanwhile, a bit of an update on some success:
I was able to get ardour to launch by reinstalling "soundtouch" and "ardour" packages from the *arch* repos ("extra" and "community" respectively) rather than the artix repositories. Still no luck with tenacity, though, although that's an AUR package so maybe it's different.

Edit: I see now that ffmpeg is a dependancy of tenacity, but it's still a separate issue.
Title: Re: ardour and tenacity fail to launch with libSoundTouch.so error
Post by: strajder on 28 January 2022, 20:24:25
Code: [Select]
pacman -Qi soundtouch

For AUR packages support, refer to their pages on https://aur.archlinux.org/.
Title: Re: ardour and tenacity fail to launch with libSoundTouch.so error
Post by: davidv on 28 January 2022, 20:46:00

? Not sure what info I'm meant to look for in there.

Anyway that's all well and good, I can check the aur support, but it still looks like one or both of soundtouch / ardour is broken in the artix repos.

Like I said  I've got a workaround so it's not a problem for me anymore, but that workaround is to install from the arch repos instead.
Title: Re: ardour and tenacity fail to launch with libSoundTouch.so error
Post by: strajder on 28 January 2022, 20:51:49
What is the result of the command I posted in my previous post?
Title: Re: ardour and tenacity fail to launch with libSoundTouch.so error
Post by: davidv on 28 January 2022, 20:55:45
Code: [Select]
Name            : soundtouch
Version         : 2.3.1-1
Description     : An audio processing library
Architecture    : x86_64
URL             : https://www.surina.net/soundtouch/
Licenses        : LGPL2.1
Groups          : None
Provides        : None
Depends On      : gcc-libs
Optional Deps   : None
Required By     : ardour  tenacity-git
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 205.42 KiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Wed 12 Jan 2022 08:17:02 PM PST
Install Date    : Fri 28 Jan 2022 11:00:45 AM PST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

As installed from artix repos. I've found I can keep this version and just use the arch version of Ardour and it works.
Title: Re: ardour and tenacity fail to launch with libSoundTouch.so error
Post by: Dudemanguy on 28 January 2022, 21:06:57
Don't you just need to recompile tenacity-git? I assume that's an AUR package.
Title: Re: ardour and tenacity fail to launch with libSoundTouch.so error
Post by: davidv on 28 January 2022, 21:13:00
Don't you just need to recompile tenacity-git? I assume that's an AUR package.

We don't have to get too deep into the AUR-debugging here, but tenacity-git is actually failing to build for me (uninstall + reinstall, install with clean build, whatever). Looking at the build output, that one actually does appear to be ffmpeg related, so I'll call that a separate problem to the ardour/soundtouch thing and look into trying the ffmpeg solutions on my own.
Title: Re: ardour and tenacity fail to launch with libSoundTouch.so error
Post by: ####### on 29 January 2022, 01:08:44
Alternative workaround for missing lib using Artix packages:
Code: [Select]
$ cd /usr/lib
$ ls -l libSoundTouch.so*
lrwxrwxrwx 1 root root    18 Jan 13 04:17 libSoundTouch.so -> libSoundTouch.so.2
lrwxrwxrwx 1 root root    22 Jan 13 04:17 libSoundTouch.so.2 -> libSoundTouch.so.2.3.1
-rwxr-xr-x 1 root root 96104 Jan 13 04:17 libSoundTouch.so.2.3.1
$ sudo ln -s libSoundTouch.so.2.3.1 libSoundTouch.so.1
Tested with ardour and soundtouch, didn't try tenacity-git.
The created link might need to be rm'd later, if it gives a "file exists" error from pacman, but when I uninstalled soundtouch it was deleted too so could be OK in that respect.
Title: Re: ardour and tenacity fail to launch with libSoundTouch.so error
Post by: davidv on 29 January 2022, 02:13:18
That works as well, thanks!