[OpenIndiana-discuss] Installing ffmpeg on Hipster
Dave Koelmeyer
dave.koelmeyer at davekoelmeyer.co.nz
Thu Aug 21 12:40:57 UTC 2014
On 21/08/14 23:06, Udo Grabowski (IMK) wrote:
> On 21/08/2014 13:01, Udo Grabowski (IMK) wrote:
>> On 21/08/2014 12:56, Udo Grabowski (IMK) wrote:
>>> On 21/08/2014 12:41, Dave Koelmeyer wrote:
>>>> Hi All,
>>>>
>>>> I'm clearly getting stumped on the exact process here because I can't
>>>> make this fly. Step by step, from the top:
>>>>
>>>> Starting with: Hipster installed from ISO, fresh system then set to
>>>> the
>>>> current Hipster repo, then updated, and rebooted into the associated
>>>> newly-created BE.
>>>>
>>>> ...
>>>>
>>>> # ffmpeg
>>>> ld.so.1: ffmpeg: fatal: libx264.so.138: open failed: No such file or
>>>> directory
>>>> ld.so.1: ffmpeg: fatal: relocation error: file
>>>> /usr/lib/pentium_pro+mmx/libavcodec.so.55: symbol x264_encoder_close:
>>>> referenced symbol not found
>>>> ld.so.1: ffmpeg: fatal: relocation error: file
>>>> /usr/bin/pentium_pro+mmx/ffmpeg: symbol avcodec_register_all:
>>>> referenced
>>>> symbol not found
>>>> Killed
>>>>
>>>>
>>>> What am I missing?
>>>>
>>>
>>> package x264 from sfe-encumbered. Don't know why it's not installed,
>>> it's in the dependence list of ffmpeg.
>>>
>> Wait, libx264.so.138 is the wrong version, it should ask for 140.
>> Maybe hipster ffmpeg is not compiled against the newer sfe-enc
>> version. On oi_151a9 dev/, all this works without such problems.
>>
>
> This is how the linkage chain should look like:
>
> # ldd /usr/lib/pentium_pro+mmx/libavcodec.so.55.39.101
>
> libavutil.so.52 => /usr/lib/pentium_pro+mmx/libavutil.so.52
> libpthread.so.1 => /usr/lib/libpthread.so.1
> libxvidcore.so.4 => /usr/lib/libxvidcore.so.4
> libx264.so.140 => /usr/lib/libx264.so.140
> libvpx.so.1 => /usr/lib/libvpx.so.1
> libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2
> libvorbis.so.0 => /usr/lib/libvorbis.so.0
> libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1
> libtheoradec.so.1 => /usr/lib/libtheoradec.so.1
> libspeex.so.1 => /usr/lib/libspeex.so.1
> libschroedinger-1.0.so.0 =>
> /usr/lib/pentium_pro+mmx/libschroedinger-1.0.so.0
> libz.so.1 => /usr/lib/libz.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libopenjpeg.so.1 => /usr/lib/libopenjpeg.so.1
> libopencore-amrwb.so => /usr/lib/pentium_pro+mmx/libopencore-amrwb.so
> libopencore-amrnb.so => /usr/lib/pentium_pro+mmx/libopencore-amrnb.so
> libmp3lame.so.0 => /usr/lib/libmp3lame.so.0
> libgsm.so => /usr/lib/pentium_pro+mmx/libgsm.so
> libfaac.so.0 => /usr/g++/lib/libfaac.so.0
> libm.so.2 => /usr/lib/libm.so.2
> libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
> librt.so.1 => /usr/lib/librt.so.1
> libogg.so.0 => /usr/lib/libogg.so.0
> liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0
> libCrun.so.1 => /usr/lib/libCrun.so.1
> libstdc++.so.6 => /usr/gcc/4.6/lib/libstdc++.so.6
> libsocket.so.1 => /lib/libsocket.so.1
> libnsl.so.1 => /lib/libnsl.so.1
> libmp.so.2 => /lib/libmp.so.2
> libmd.so.1 => /lib/libmd.so.1
>
Ahh, right, thanks. I'll file a bug for this. (Predrag, thanks for the
heads-up on the opencsw repo).
Lest anyone think I'm nuts enough to want to use Hipster as a "desktop"
OS (I use Ubuntu for that thanks), or misconstruing my wanting ffmpeg to
play movies for recreation, in actual fact I am seeing how feasible OI
(or any illumos distro up to the task) would suit as a Nuxeo document
management server platform. Most of the guts of Nuxeo run within the
Java VM, but additions such as a OpenOffice/LibreOffice and ffmpeg open
up the full range of functionality (document previewing and comments,
digital asset management previews, etc).
--
Dave Koelmeyer
http://blog.davekoelmeyer.co.nz
More information about the openindiana-discuss
mailing list