Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2004 08:51:03 GMT
From:      Peter Czanik <pczanik@fang.fa.gau.hu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/69088: mod_php4/5 does not work with gmp support
Message-ID:  <200407150851.i6F8p3Pn031058@www.freebsd.org>
Resent-Message-ID: <200407150900.i6F90iSO016110@freefall.freebsd.org>

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

>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@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:



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