[OpenIndiana-discuss] Installing ffmpeg on Hipster

Udo Grabowski (IMK) udo.grabowski at kit.edu
Thu Aug 21 11:06:23 UTC 2014


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

-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026



More information about the openindiana-discuss mailing list