Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2007 08:58:24 GMT
From:      Andy Hilker <ah@inotronic.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   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
Message-ID:  <200708280858.l7S8wOAt005655@www.freebsd.org>
Resent-Message-ID: <200708280900.l7S906G9031148@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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 &quot;pthread_join&quot; 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 &quot;pthread_join&quot; 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708280858.l7S8wOAt005655>