[mythtv-users] Need help running MythTV on ARM NAS (LIBAVCODEC_52 error)

Matthew Parris parrisimo at gmail.com
Thu Nov 20 03:42:04 UTC 2014


I need some assistance getting 0.25.4 to run on a QNAP NAS ARM processor.
Mythtv backend runs and records just fine, but when I try to watch a
recording using the XBMC PVR cmythtv addon, I get this error right before
the backend crashes:
2014-11-09 12:57:04.404395 C  MainServer::HandleVersion - Client speaks
protocol version 8 but we speak 72!
2014-11-09 12:57:04.404629 W  MainServer: Unknown socket closing
MythSocket(0x339d90)
2014-11-09 12:57:04.406889 I  MainServer::ANN Playback
2014-11-09 12:57:04.406935 I  adding: Katies-iMac.home as a client (events:
0)
2014-11-09 12:57:04.408524 I  MainServer::HandleAnnounce FileTransfer
2014-11-09 12:57:04.408561 I  adding: Katies-iMac.home as a remote file
transfer
./mythbackend: relocation error:
/opt/MythTV-0.25.4/lib/libmythtv-0.25.so.0: symbol __aeabi_d2ulz, version
LIBAVFORMAT_52 not defined in file libmythavformat.so.52 with link time
reference


I did some googling, and some others have a similar problem with mplayer.
It's as if mythbackend is trying to access version "LIBAVFORMAT_52" of the
__aeabi_d2ulz symbol. I'm not sure what this means. I ran the following on
libmythavformat.so.52:
# nm -A -D /opt/MythTV-0.25.4/lib/libmythavformat.so.52 | grep aeabi
/opt/MythTV-0.25.4/lib/libmythavformat.so.52:000b90f0 T __aeabi_d2lz
/opt/MythTV-0.25.4/lib/libmythavformat.so.52:000b9138 T __aeabi_d2ulz


which tells me that __aeabi_d2ulz seems to be a valid symbol, but maybe not
the LIBAVFORMAT_52 version?


Note, that libmythavformat is compiled from the
"mythtv/external/FFmpeg/libavformat" directory. I tried copying
libmythavformat binary files from 0.24.3 and I have the same problem, so I
don't think it's an issue with FFmpeg. I also ran the following:
# objdump -T /opt/MythTV-0.25.4/bin/mythbackend | grep aeabi

0001a82c      DF *UND*  00000000  GCC_3.5     __aeabi_fdiv
0001aa9c      DF *UND*  00000000  GCC_3.5     __aeabi_idivmod
00000000      DF *UND*  00000000  GCC_3.5     __aeabi_unwind_cpp_pr0
0001abe0      DF *UND*  00000000  GCC_3.5     __aeabi_uldivmod
0001ac64      DF *UND*  00000000  GCC_3.5     __aeabi_i2d
0001ad90      DF *UND*  00000000  GCC_3.5     __aeabi_f2d
0001ae5c      DF *UND*  00000000  GCC_3.5     __aeabi_ul2d
0001af58      DF *UND*  00000000  GCC_3.5     __aeabi_ui2d
0001b2d0      DF *UND*  00000000  GCC_3.5     __aeabi_fadd
0001b6e4      DF *UND*  00000000  GCC_3.5     __aeabi_l2d
0001b7bc      DF *UND*  00000000  GCC_3.5     __aeabi_fmul
0001bf24      DF *UND*  00000000  GCC_3.5     __aeabi_dcmpgt

which seems to not reference the __aeabi_d2ulz symbol.

The issue I had 2 years ago was that it wouldn't compile; it got stuck at
mythtv/programs/mythavtest with a ../../libs/libmythtv/libmythtv-0.25.so:
undefined reference to `__aeabi_d2lz at LIBAVCODEC_52' error.  Now, it
compiles just fine, but crashes when trying to stream a file.

Hopefully one of you gurus can point me in the right direction...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20141119/36b7aa83/attachment.html>


More information about the mythtv-users mailing list