ports/115893: ffmpeg-2007.07.12_3 php5-ffmpeg-0.5.0_2 --> libavcodec.so.1: Undefined symbol pthread_join in Unknown on line 0
Andy Hilker
ah at inotronic.de
Tue Aug 28 09:00:07 UTC 2007
>Number: 115893
>Category: ports
>Synopsis: ffmpeg-2007.07.12_3 php5-ffmpeg-0.5.0_2 --> libavcodec.so.1: Undefined symbol pthread_join in Unknown on line 0
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 28 09:00:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Andy Hilker
>Release: 6.2-RELEASE-p4
>Organization:
inotronic
>Environment:
FreeBSD xxx 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386
>Description:
The php4-ffmpeg and php5-ffmpeg module used by apache20/php is broken.
It seems to be a pthread problem with ports/multimedia/ffmpeg.
Compile ports/multimedia/ffmpeg without -pthread or using ffmpeg-2007.05.30_1 still works.
httpd-error.log gives:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/ffmpeg.so' - /usr/local/lib/libavcodec.so.1: Undefined symbol "pthread_join" in Un
known on line 0
[notice] Apache/2.0.59 (FreeBSD) PHP/5.2.3 with Suhosin-Patch mod_ssl/2.0.59 OpenSSL/0.9.8e configured -- resuming normal operations
>How-To-Repeat:
cd /usr/ports/graphics/php5-ffmpeg
make install clean
(will install ports/multimedia/ffmpeg as a dependencie)
(same error with php4)
/usr/local/etc/rc.d/apache2.sh restart
will lead to an error in httpd-error.log:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/ffmpeg.so' - /usr/local/lib/libavcodec.so.1: Undefined symbol "pthread_join" in Un
known on line 0
[notice] Apache/2.0.59 (FreeBSD) PHP/5.2.3 with Suhosin-Patch mod_ssl/2.0.59 OpenSSL/0.9.8e configured -- resuming normal operations
>Fix:
Not a fix, maybe only a workaround or debug hint:
Compile ports/multimedia/ffmpeg without -pthread or using ffmpeg-2007.05.30_1 still works.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list