[OpenIndiana-discuss] ffmpeg on hipster
Paolo Marcheschi
paolo.marcheschi at ftgm.it
Fri Nov 29 17:13:58 UTC 2013
Hi
I tried to match your configuration:
root at openindiana:~# 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/
root at openindiana:~# ls -al /usr/lib/libx264*
lrwxrwxrwx 1 root root 14 Nov 29 17:51 /usr/lib/libx264.so -> libx264.so.138
lrwxrwxrwx 1 root root 23 Nov 29 18:02 /usr/lib/libx264.so.125 -> /usr/lib/libx264.so.138
-rwxr-xr-x 1 root bin 1363844 Nov 29 17:51 /usr/lib/libx264.so.138
root at openindiana:~# pkg info ffmpeg
Name: video/ffmpeg
Summary: A very fast video and audio converter
Category: System/Multimedia Libraries
State: Installed
Publisher: sfe-encumbered
Version: 1.0
Build Release: 5.11
Branch: 0.151.1.7
Packaging Date: February 9, 2013 01:24:01 PM
Size: 24.02 MB
FMRI: pkg://sfe-encumbered/video/ffmpeg@1.0,5.11-0.151.1.7:20130209T132401Z
But still:
bash-4.2$ ffmpeg
ld.so.1: ffmpeg: fatal: relocation error: file /usr/lib/pentium_pro+mmx/libavcodec.so.54: symbol x264_encoder_open_125: 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
Any idea ?
in the meantime wine ffmpeg works =-O
Paolo
On 11/29/13 04:54 PM, Predrag Zecevic [Unix Systems Administrator] wrote:
> Hi,
>
> i have set following publishers:
> $ pkg publisher -a
> PUBLISHER TYPE STATUS URI
> openindiana.org origin online http://pkg.openindiana.org/hipster/
> sfe (non-sticky) origin online http://pkg.openindiana.org/sfe/
> sfe-encumbered (non-sticky) origin online http://pkg.openindiana.org/sfe-encumbered/
>
> and use this ffmpeg:
>
> $ pkg info ffmpeg
> Name: video/ffmpeg
> Summary: A very fast video and audio converter
> Category: System/Multimedia Libraries
> State: Installed
> Publisher: sfe-encumbered
> Version: 1.0
> Build Release: 5.11
> Branch: 0.151.1.7
> Packaging Date: Sat Feb 9 13:24:01 2013
> Size: 24.02 MB
> FMRI: pkg://sfe-encumbered/video/ffmpeg@1.0,5.11-0.151.1.7:20130209T132401Z
>
> I had to create symbolic link in order to have mplayer running:
> $ ls -al /usr/lib/libx264*
> lrwxrwxrwx 1 root admin 14 Nov 22 15:22 /usr/lib/libx264.so -> libx264.so.138
> lrwxrwxrwx 1 root root 14 Nov 22 15:57 /usr/lib/libx264.so.125 -> libx264.so.138
> -rwxr-xr-x 1 root bin 1.4M Nov 22 15:22 /usr/lib/libx264.so.138
>
> (it is *.125)
>
>
> So, it looks like you are using some OTHER publisher ffmpeg.
>
> Regards.
>
> On 11/29/13 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 ?
>>
>> Thank you
>>
>> Paolo
>>
>> _______________________________________________
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>
More information about the OpenIndiana-discuss
mailing list