ports/69088: mod_php4/5 does not work with gmp support

Peter Czanik pczanik at fang.fa.gau.hu
Thu Jul 15 09:00:44 UTC 2004


>Number:         69088
>Category:       ports
>Synopsis:       mod_php4/5 does not work with gmp support
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 15 09:00:43 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Peter Czanik
>Release:        4-STABLE
>Organization:
Szent Istvan University
>Environment:
maple# uname -a
FreeBSD maple.fa.gau.hu 4.10-STABLE FreeBSD 4.10-STABLE #0: Tue Jul 13 15:12:29 CEST 2004     root at maple.fa.gau.hu:/usr/src/sys/compile/CZP  i386
      
>Description:
When I compile lang/php4 or lang/php5 with GMP support enabled, the resulting apache module does not work. When apache is started, the following message is showed:

maple# /usr/local/etc/rc.d/apache.sh start
Starting apache.
Syntax error on line 243 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libphp5.so into server: /usr/local/libexec/apache/libphp5.so: Undefined symbol "__gmpz_cdiv_qr_ui"

mod_php4/5 works fine, if gmp is not enabled.

The CLI version does not seem to be affected (at least it starts).

Seems, that I'm not the only one having this problem:
http://forums.devshed.com/t154008/s.html
http://www.livejournal.com/community/php/161367.html

>How-To-Repeat:
Compile mod_php4/5 with gmp enabled. Apache won't start due to errors in mod_php4/5.
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list