Jump to content

ffmpeg broken in FreeBSD12


boringuy
Go to solution Solved by Luke,

Recommended Posts

boringuy

I have a fresh install of FreeBSD12, followed the exact instruction from https://emby.media/freebsd-server.html

All the binary under /usr/local/lib/emby-server/bin/ are broken. Here is an example:

 

$ LD_LIBRARY_PATH=/usr/local/lib/emby-server/lib/ ./ffmpeg

ld-elf.so.1: Shared object "libx264.so.155" not found, required by "libavcodec.so.58" 

 

This error can be seen through out the log file whenever it tries to run ffmpeg, ffdetect or ffprobe.

 

The libx264 pkg info from the system:

$ pkg info libx264
libx264-0.157.2945
Name           : libx264
Version        : 0.157.2945
Installed on   : Mon Jul  1 17:01:06 2019 EDT
Origin         : multimedia/libx264
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : multimedia
Licenses       : GPLv2
Maintainer     : koobs@FreeBSD.org
WWW            : http://www.videolan.org/x264.html
Comment        : H.264/MPEG-4 AVC Video Encoding (Library)
Options        :
ASM            : on
DEBUG          : off
GCC            : off
OPENCL         : on
PGO            : off
Shared Libs provided:
libx264.so.157
Annotations    :
FreeBSD_version: 1200086
repo_type      : binary
repository     : FreeBSD
Flat size      : 4.88MiB
Description    :
x264 is a free library for encoding H.264/AVC (aka MPEG-4 Part 10)
video streams.
 
You can see the OS comes with libx264-0.157.2945 but the server was compiled with libx264.so.155 and yet didn't include that in /usr/local/lib/emby-server/lib.
 
 
The version reported from the log file:
2019-07-03 21:49:06.558 Info Main: Application path: /usr/local/lib/emby-server/system/
EmbyServer.exe
2019-07-03 21:49:07.742 Info Main: Emby
     Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffd
etect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ff
mpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -
updatepackage emby-server-freebsd12_{version}_amd64.txz
     Operating system: Unix 12.0.0.0
     64-Bit OS: True
     64-Bit Process: True
     User Interactive: False
     Mono: 5.10.1.57 (5.10.1.57 Tue Jun 25 02:06:19 UTC 2019)
     Runtime: file:///usr/local/lib/mono/4.5/mscorlib.dll
     Processor count: 2
     Program data path: /var/db/emby-server
     Application directory: /usr/local/lib/emby-server/system
2019-07-03 21:49:07.833 Info App: Application version: 4.2.0.24
 
I understand this version is beta but I just want to report the bug. Let me know if there is a different place I should report the bug.
Link to comment
Share on other sites

Hi, it's not really a bug, it just means we haven't compiled against that version yet. I guess we will have to update. Thanks for reporting.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...