Page 1 of 1
FFmpeg: PHP symbol lookup error
Posted: 2018/04/07 02:11:29
by chihieu
I successfully installed FFMPEG on my server then I got this error after I enabled in PHP:
Code: Select all
php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ffmpeg.so: undefined symbol: avcodec_init
Any help would be great. Thanks so much!
Re: FFmpeg: PHP symbol lookup error
Posted: 2018/04/07 10:37:37
by TrevorH
Looks like you are doing source buillds. Don't do that. Look at
http://wiki.centos.org/AdditionalResources/Repositories and find reputable repos that supply the things you want to install and use those. There are numerous repos that supply newer php packages though the distro ones, depite being an old version number, are still supported by Redhat and they fix security bugs.
Re: FFmpeg: PHP symbol lookup error
Posted: 2018/04/08 02:01:16
by chihieu
Thank you for you reply.
I've re-installed ffmpeg successfully but
ffmpeg-php gd support is disabled and I cannot use it in my PHP script to convert videos:
Code: Select all
ffmpeg-php version 0.6.0-svn
ffmpeg-php built on Apr 7 2018 22:26:01
ffmpeg-php gd support disabled
ffmpeg libavcodec version Lavc52.72.2
ffmpeg libavformat version Lavf52.64.2
ffmpeg swscaler version SwS0.11.0