Hi Tim,

If you do not want to compile yourself, Ubuntu 14.04 comes with precompiled 
plugins:

sudo apt-get install liquidsoap

this will install: liquidsoap liquidsoap-plugin-faad liquidsoap-plugin-flac 
liquidsoap-plugin-icecast liquidsoap-plugin-lame liquidsoap-plugin-mad 
liquidsoap-plugin-ogg liquidsoap-plugin-pulseaudio liquidsoap-plugin-taglib 
liquidsoap-plugin-voaacenc liquidsoap-plugin-vorbis

To install all plugins (including ladspa and lastfm):

sudo apt-get install sudo apt-get install liquidsoap-plugin-all

This will install:
  liquidsoap-plugin-all liquidsoap-plugin-alsa liquidsoap-plugin-ao 
liquidsoap-plugin-camlimages liquidsoap-plugin-dssi liquidsoap-plugin-frei0r 
liquidsoap-plugin-gavl liquidsoap-plugin-gd liquidsoap-plugin-graphics 
liquidsoap-plugin-gstreamer
  liquidsoap-plugin-jack liquidsoap-plugin-ladspa liquidsoap-plugin-lastfm 
liquidsoap-plugin-lo liquidsoap-plugin-opus liquidsoap-plugin-oss 
liquidsoap-plugin-portaudio liquidsoap-plugin-samplerate 
liquidsoap-plugin-schroedinger liquidsoap-plugin-sdl liquidsoap-plugin-shine 
liquidsoap-plugin-soundtouch liquidsoap-plugin-speex liquidsoap-plugin-theora 
liquidsoap-plugin-xmlplaylist


For manual installation I logged all steps here:
http://dev.radiopiloten.de/dokuwiki/doku.php/liquidsoap:installation

Just for fun I tried to get as much additional plugins running as possible (in 
limited time):

The plugins enabled in my PACKAGE file:

grep -v '#' PACKAGES | sort | uniq
liquidsoap
ocaml-alsa
ocaml-ao
ocaml-bjack
ocaml-cry
ocaml-dtools
ocaml-duppy
ocaml-faad
ocaml-fdkaac
ocaml-flac
ocaml-gstreamer
ocaml-ladspa
ocaml-lame
ocaml-lastfm
ocaml-lo
ocaml-mad
ocaml-mm
ocaml-ogg
ocaml-opus
ocaml-pulseaudio
ocaml-samplerate
ocaml-schroedinger
ocaml-soundtouch
ocaml-speex
ocaml-taglib
ocaml-theora
ocaml-voaacenc
ocaml-vorbis
ocaml-xmlplaylist

Usually you need to install some additional packages like codecs or ocaml 
bindings before running configure.
For most cases you can search for it. for example for "jack":
sudo apt-cache search ocaml-dev | grep jack

The ocaml package should install the required codec libraries,
but sometime you will need to search and install the required libs separately.

Here is the list, I additionally installed for the plugins shown above
(before running ./configure --disable-graphics)

sudo apt-get -y install autoconf
sudo apt-get -y install libtool
sudo apt-get -y install g++
sudo apt-get -y install libxml-dom-perl
sudo apt-get -y install festival
sudo apt-get -y install git
sudo apt-get -y install libmagic-ocaml-dev
sudo apt-get -y install libcamomile-ocaml-dev
sudo apt-get -y install libxml-light-ocaml-dev
sudo apt-get -y install ocaml-compiler-libs
sudo apt-get -y install libfindlib-ocaml
sudo apt-get -y install libfindlib-ocaml-dev
sudo apt-get -y install libasound2-dev
sudo apt-get -y install libpulse-ocaml-dev
sudo apt-get -y install libmad-ocaml-dev
sudo apt-get -y install libtaglib-ocaml-dev
sudo apt-get -y install libmp3lame0
sudo apt-get -y install libmp3lame-dev
sudo apt-get -y install libvorbis-ocaml-dev
sudo apt-get install gstreamer
sudo apt-get install gstreamer1.0-good
sudo apt-get install gstreamer1.0-x
sudo apt-get install gstreamer1.0-libav
sudo apt-get install gstreamer1.0-plugins-base
sudo apt-get install gstreamer1.0-plugins-good
sudo apt-get install gstreamer1.0-plugins-bad
sudo apt-get install libgstreamer-ocaml-dev
sudo apt-get install libshine-ocaml-dev
sudo apt-get install libshine*
sudo apt-get install libav-tools libavcodec-extra ibavcodec-extra-53 
libavdevice-extra-53 libavformat53 libpostproc*
sudo apt-get install libswscale-extra-2
sudo apt-get install libfaad-ocaml-dev
sudo apt-get install libopus0 libopus-ocaml libopus-ocaml-dev
sudo apt-get install libvo-aacenc-dev libvo-aacenc0 libvoaacenc-ocaml 
libvoaacenc-ocaml-dev
sudo apt-get install libfdk-aac-dev libfdk-aac0 libfdk-aac0-dbg
sudo apt-get install liblo-ocaml-dev
sudo apt-get install libbjack-ocaml-dev
sudo apt-get install libav-tools libavcodec-extra

#lib shine wont work (expect 3.0, instead 2.0)
sudo apt-get install libshine-ocaml-dev

#did not test dssi, because I did not want to install wine
sudo apt-get install libdssi-ocaml dssi-dev dssi-utils dssi-vst

Afterwards I followed as described in the URL at top.

As a result I got following output:

 * Supported input formats
   - Vorbis            : yes
   - Theora            : yes
   - Speex             : yes
   - Dirac             : yes
   - Flac (native)     : yes
   - Flac (ogg)        : yes
   - MP3               : yes
   - AAC               : yes
   - text-to-speech    : requires text2wave (festival) and sox at runtime
   - XML playlists     : yes
   - Lastfm            : yes

 * Supported output formats
   - Vorbis            : yes
   - MP3               : yes
   - MP3 (fixed-point) : no (requires shine)
   - AAC               : yes
   - AAC+              : detected at runtime
   - FDK-AAC           : yes
   - SPEEX             : yes
   - Opus              : yes
   - Theora            : yes
   - Dirac             : yes

 * Tags
   - Taglib (ID3 tags) : yes
   - Vorbis            : yes
   - charset detection : yes

 * Input / output
   - Icecast/Shoutcast : yes
   - AO                : yes
   - OSS               : yes
   - ALSA              : yes
   - Portaudio         : no (requires portaudio)
   - Pulseaudio        : yes
   - JACK              : yes
   - GStreamer         : yes

 * Audio manipulation
   - Samplerate        : yes
   - SoundTouch        : yes
   - LADSPA            : yes

 * Video manipulation
   - Gavl              : no (requires gavl)
   - FFmpeg            : no (requires ffmpeg)
   - frei0r            : no (requires frei0r)
   - camlimages        : yes

 * MIDI manipulation
   - DSSI              : no (requires dssi)

 * Visualization
   - Graphics          : no
   - SDL               : no (requires sdl)
   - GD                : no (requires gd)

 * Additional libraries
   - wget URI resolver : requires wget at runtime
   - dynlink           : yes
   - inotify           : no (requires inotify)
   - lo                : yes
   - magic             : yes
   - yojson            : no (requires yojson)
   - windows service   : no (requires winsvc)

 * Graphical interfaces
   - Python GUI        : yes (requires >=pyGTK-2.0)

It might be that this list is not complete,
because I used my system and did not start from scratch.

At the end everything was fine after make && make install

BR, Peter



Am 08.05.2014 20:39, schrieb Tim Baker:
> Tim Baker <tim@...> writes:
>
>> Just upgraded my LTS and get this error with Liquidsoap when trying to run
> it - the service seems to run after I’d found all the extra plugins, they
> weren’t installed (I did a purge / reinstall because initially it wouldn’t
> work at all) 
>> liquidsoap: error while loading shared libraries: libavutil.so.51: cannot
> open shared object file: No such file or directory
>> Thought it was this whole ffmpeg vs avtool thing, so installed ffmpeg via
> another PPA - still the same error. Any idea?
>> Tim
> I've now tried to compile liquidsoap from source, I have done this before
> because there are no binaries for 12.04 - but I got this error during the 
> make:
>
> Error: /ocaml-ladspa/src/ladspa.cmxa both define a module named Ladspa
>
> Disabling Ladspa fixed this (under duress cos I use ladspa.compressor, but
> that doesn't work with the repository install either) and I disabled FFMpeg
> in the PACKAGES means no libavutl.so errors.
>
> But currently it's now having problems with my pervasive libraries - even
> though I import the lastfm.liq, it errors with:
>
> Starting liquidsoap channels: radioclash.liq At line 198, char 31: the
> variable lastfm.submit used here has not been
>   previously defined.
>
> Even when I restore my previously working lastfm.liq. In fact oddly a lot of
> the libraries don't work unless I restore my local copy, the git /scripts/
> versions don't seem to be seen, even the imported ones til I do that.
>
> I can do without a compressor, but lastfm is needed... :-( Still better than
> than odd FFMPeg problem.
>
> This all says that upgrading to 14.04 is a World of Hurt, basically. Beware!
>
> Tim
>
>
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
> &#149; 3 signs your SCM is hindering your productivity
> &#149; Requirements for releasing software faster
> &#149; Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to