liquidsoap cannot decode mp3 & ogg

Bug #891054 reported by Pujianto
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
liquidsoap (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi there,
when I try : $liquidsoap 'output.icecast(%vorbis, host = "localhost", port = 8000, password = "hackme", mount = "default.ogg", mksafe(playlist("/home/username/radio/pl.m3u")))'
got error: Invalid value at line 1, char 16-22: No encoder found for that format.

P.S.: I used ubuntu 11.10 & liquidsoap default package for ubuntu 11.10 (liquidsoap 1.0.0-beta3).

regards,
puji

Tags: liquidsoap
tags: added: liquidsoap
Revision history for this message
Pujianto (puji-slowbutsure) wrote :

update: Solved, downgrade liquidsoap version to 0.9.2

Revision history for this message
Romain Beauxis (toots) wrote :

For some reasons not yet fully understood, dynamic plugins loaded by liquidsoap do not properly declare their dependencies to the dynamic loaded, which results in errors such as:

2011/12/04 20:47:30 [dynamic.loader:2] Could not load plugin file /usr/lib/liquidsoap/1.0.0-beta3/plugins/lame.cmxs: error loading shared library: /usr/lib/liquidsoap/1.0.0-beta3/plugins/lame.cmxs: undefined symbol: id3tag_set_title.

Indeed:

dnch@ubuntu:~$ ldd /usr/lib/liquidsoap/1.0.0-beta3/plugins/lame.cmxs
        linux-vdso.so.1 => (0x00007fff925ff000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3a76530000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f3a76ae1000)

libmp3lame is missing from that list.

I have no other solution for now than to rebuild the package:

as root:
# apt-get build-dep liquidsoap
(you may need to enable some sources for packages' sources in
/etc/apt/sources.list)

Then as a user:
~ apt-get source liquidsoap
~ cd liquidsoap-<VERSION>
~ dpkg-buildpackage

Changed in liquidsoap (Ubuntu):
status: New → Confirmed
Changed in liquidsoap (Ubuntu):
status: Confirmed → In Progress
status: In Progress → Confirmed
Revision history for this message
Romain Beauxis (toots) wrote :

Just a follow-up: recompiling the package itself will not help. You'd rather compile a local binary:

# apt-get build-dep liquidsoap
# apt-get source liquidsoap
~ cd liquidsoap-<VERSION>
~ ./configure
~ make
# make install

Revision history for this message
Romain Beauxis (toots) wrote :

Sorry, it should be:
~ apt-get source liquidsoap
in the above

Revision history for this message
Pujianto (puji-slowbutsure) wrote :

Hi Romain,
thanks for the advice, I will try as soon as possible.

Revision history for this message
michel jacobs (tepaard) wrote :

works for me (ubuntu 11, desktop and laptop)
difference: i do not buildpackage but ./configure, make and make install

thanks!

Revision history for this message
Kyle Robbertze (krobbertze) wrote :

This has been fixed in 1.3.3

Changed in liquidsoap (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.