[Bug 1875414] [NEW] Wrong liquidsoap installation, libs are missed
Launchpad Bug Tracker
1875414 at bugs.launchpad.net
Sun Aug 15 20:31:29 UTC 2021
You have been subscribed to a public bug by Kyle Robbertze (krobbertze):
[Impact]
The package ships the pervasive libraries /usr/share/liquidsoap/libs,
while liquidsoap searches for them in /usr/share/liquidsoap/1.4.1/libs.
These libraries are used to implement much of the built-in modules used
within liquidsoap scripts. The fix here would fix scripts using these
pervasive libraries. The fix has been working in Debian unstable and
testing without issue.
[Test Plan]
Here is a short script to replicate it:
#!/usr/bin/liquidsoap --check
stream = playlist("")
source = output.icecast(%mp3, host="localhost", port=8000, mount="listen.m3u", password="hackme")
mksafe(source(mksafe(stream)))
Then ran the check against the liq file:
liquidsoap --check ./radio.liq
This should terminate successfully. If the libs are not in the correct
position, this command will error out.
[Where problems could occur]
This patch creates a symlink, which could cause issues if the user has
used the workaround described below. Liquidsoap searches for the libs in
a subdirectory of /usr/share/liquidsoap that corresponds with the
version of the package, so for Ubuntu 20.04, this should be 1.4.1. An
incorrect symlink would result in no-change of the status-quo
-------------------------------
Original Bug report
-------------------------------
Could not use several script commands in liquidsoap, because liquidsoap
could not find several .liq - files.
Following
sudo mkdir /usr/share/liquidsoap/1.4.1
sudo ln -s /usr/share/liquidsoap/libs /usr/share/liquidsoap/1.4.1/
fixed it, like described here: https://github.com/radiorabe/centos-rpm-
liquidsoap/issues/3
** Affects: liquidsoap (Ubuntu)
Importance: Undecided
Status: Fix Released
--
Wrong liquidsoap installation, libs are missed
https://bugs.launchpad.net/bugs/1875414
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list