#45 ffmpeg-php and gd module loading issue

open
nobody
None
5
2010-01-19
2010-01-19
Anonymous
No

I've successfully installed ffmpeg along with ffmpeg-php , I've add the extension=ffmpeg.so to php.ini and restarted apache
But when looking at the phpini() there was no ffmpeg showing

So I've ran php -i | grep ffmpeg for any errors and I got:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so: undefined symbol: php_gd_gdImageSetPixel in Unknown on line 0

I've looked around forums and some users suggested to make the GD module load before FFMPEG , so I did that , but still the same error

I don't get it , anyone has any ideas how to fix this ??

Discussion

  • Remi COLLET
    Remi COLLET
    2010-03-21

    No issue using SVN revision 676

    This issue was introduce by revision 677 which direcly call a gd function (gdImageSetPixel) which is not available (exported) when PHP is build with the bundled GD version.

    Other gd function calls (gdImageSX and gdImageSY) works because they are only macros.

    +