[mythtv-users] Problems with libmythavcodec: undefined symbol

John Pilkington johnpilk222 at gmail.com
Wed Jul 18 11:09:37 UTC 2018


Some of this thread has been off-list.  Bringing it back...

On 18/07/18 06:43, R. G. Newbury wrote:
> On 2018-07-17 12:39 PM, John Pilkington wrote:
>> Re-sending to list:
>>
>> On 17/07/18 00:59, David Hampton wrote:
>>>
>>>
>>> On July 16, 2018 6:22:10 PM EDT, "R. G. Newbury" 
>>> <newbury at mandamus.org> wrote:
>>>> I am missing a library, but I have no idea which one!
>>>>
>>>> mythfrontend: symbol lookup error: /usr/local/lib/libmythavcodec.so.57:
>>>>
>>>> undefined symbol: x265_api_get_79
>>>>
>>
>> <snip>
>>
>>> I'm nowhere near my fedora box, but I think you just need to install 
>>> the x265 package.  (It might be called libx265.)
>>>
>>> David
>>>
>>
>> x265-libs
>>
>> el7 has /usr/lib64/libx265.so.79 , and main10 and main12 from 
>> rpmfusion-free-updates
>>
>> fc27 has /usr/lib64/libx265.so.130 etc from "@system"
>>
>> John
> 
> The myth box:
> [root at myth lib64]# uname -r
> 4.6.5-300.fc24.x86_64
> [root at myth lib64]# ls -al libx265*
> lrwxrwxrwx 1 root root      13 May 15  2016 libx265.so -> libx265.so.79
> -rwxrwxr-x 1 root root 3473720 May 15  2016 libx265.so.79
> [root at myth lib64]# exit
> logout
> Connection to myth closed.
> 
> The desktop
> [root at tor1 lib64]# uname -r
> 4.15.3-300.fc27.x86_64
> [root at tor1 lib64]# ls -al libx265*
> -rwxr-xr-x 1 root root 3728480 Nov  1  2017 libx265_main10.so.130
> -rwxr-xr-x 1 root root 3650656 Nov  1  2017 libx265_main12.so.130
> lrwxrwxrwx 1 root root      14 Nov  1  2017 libx265.so -> libx265.so.130
> -rwxr-xr-x 1 root root 3597400 Nov  1  2017 libx265.so.130
> lrwxrwxrwx 1 root root      14 Jul 15 22:48 libx265.so.79 -> libx265.so.130
> 
> So the link from '..79' to '..130' does not do the trick.
> Are you suggesting that I copy libx265.so.79 from the f24 system, to the 
> f27 system?  (I would think that back-compatibility would make that 
> unnecessary if not dangerous).
> 
> Geoff

I don't understand the details of this.  It just seemed likely, after 
David's post, that x265-libs was needed at runtime.  Since you are 
building from source I suppose you would need x265-devel too. 'My' 
specfile (for mockchain) mentions 'x265' only in BuildRequires: 
x265-devel and  --enable-libx265.  There's no 'Requires: x265-libs' but 
both boxes have it, probably as a legacy of earlier installations.

-----

The specfiles that I used until April this year did not have any x265 
references.  I started using Gary's script, which does, after the big 
ffmpeg resyncs in May and June.

I have old 'alias' symbol definitions in /etc/modprobe.d/dvb.conf

alias symbol:tda10046_attach() tda1004x
alias symbol:it913x_fe_attach() it913x_fe

They may be irrelevant now, Could something similar work for you? 
Particularly if you don't need x265.

John




More information about the mythtv-users mailing list