[OpenIndiana-discuss] ffmpeg on hipster
Udo Grabowski (IMK)
udo.grabowski at kit.edu
Fri Nov 29 18:35:55 UTC 2013
On 29/11/2013 16:48, Paolo Marcheschi wrote:
> Hi
> I have troubles in running ffmpeg on latest hipster:
> ffmpeg
>
> ld.so.1: ffmpeg: fatal: libx264.so.136: open failed: No such file or directory
> ld.so.1: ffmpeg: fatal: relocation error: file /usr/lib/libavcodec.so.55: symbol x264_encoder_close: referenced symbol not found
> ld.so.1: ffmpeg: fatal: relocation error: file /usr/bin/ffmpeg: symbol avcodec_register_all: referenced symbol not found
>
> but:
> bash-4.2$ find /usr/lib/ -name libx264*
>
> /usr/lib/libx264.so.138
> /usr/lib/libx264.so
> /usr/lib/amd64/libx264.so
> /usr/lib/amd64/libx264.so.138
>
> if I make a link:
> ln -s /usr/lib/libx264.so.138 /usr/lib/libx264.so.136
>
>
> ld.so.1: ffmpeg: fatal: relocation error: file /usr/lib/libavcodec.so.55: symbol x264_encoder_open_136: referenced symbol not found
> ld.so.1: ffmpeg: fatal: relocation error: file /usr/bin/ffmpeg: symbol avcodec_register_all: referenced symbol not found
> Killed
>
> for the publishers I have:
>
> bash-4.2$ pkg publisher
> PUBLISHER TYPE STATUS URI
> sfe (non-sticky) origin online http://pkg.openindiana.org/sfe/
> sfe-encumbered (non-sticky) origin online http://pkg.openindiana.org/sfe-encumbered/
> openindiana.org origin online http://pkg.openindiana.org/hipster/
> oi-experimental (non-sticky) origin online http://pkg.openindiana.org/experimental/
> jds.openindiana.org (non-sticky) origin online http://opensolaris.cz:10000/
> ms.omniti.com (non-sticky) origin online http://pkg.omniti.com/omniti-ms/
>
> bash-4.2$ uname -a
> SunOS openindiana 5.11 illumos-a0b6056 i86pc i386 i86pc Solaris
>
>
> Is there a simple way to solve it ?
Yes, I had the same problem with my older setup.
OI-SFE and OI-SFE-encumbered deliver the same
package, so you have installed the older one from
SFE, which will not work anymore. You have to
set OI-SFE to non-sticky and OI-SFE-encumbered
to sticky, and then update again vi the versions
tab (lower right tab). That will overwrite all
older packages (there are more) with the newer
versions from OI-SFE-enc.
The duplicate packages from OI-SFE should be
obsoleted, they really confuse existing setups.
More information about the OpenIndiana-discuss
mailing list