From: lj979 at hotmaill dot com
Operating system: Solaris 9
PHP version: 5.2.3
PHP Bug Type: *Compile Issues
Bug description: compiling failure in Solaris 9
Description:
------------
I tried the latest version and 5.2.3. Here is the error message.
HOSTTYPE=sparc
OSTYPE=solaris2.9
gcc version 3.4.6
GNU Make 3.81
Apache 2.0.59
# ./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-apxs2=/usr/local/apache2/bin/apxs \
--disable-debug \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-gd=/usr/local \
--with-jpeg-dir=/usr/local \
--with-xpm-dir=/usr/local \
--with-ttf=/usr/local/freetype \
--with-zlib=/usr/local \
--with-tiff-dir=/usr/local \
--with-png-dir=/usr/local \
--enable-mbstring \
--enable-soap \
--enable-track-vars
# make
cket -lnsl -o libphp5.la
libtool: link: warning: `/usr/local/lib/libjpeg.la' seems to be moved
libtool: link: warning: `/usr/local/lib/libexpat.la' seems to be moved
ld: fatal: symbol `php5_module' is multiply-defined:
(file sapi/apache/.libs/mod_php5.o type=OBJT; file
sapi/apache2handler/.libs/mod_php5.o type=OBJT);
ld: fatal: symbol `zm_info_apache' is multiply-defined:
(file sapi/apache/.libs/php_apache.o type=FUNC; file
sapi/apache2handler/.libs/php_functions.o type=FUNC);
ld: fatal: symbol `zif_apache_get_modules' is multiply-defined:
(file sapi/apache/.libs/php_apache.o type=FUNC; file
sapi/apache2handler/.libs/php_functions.o type=FUNC);
ld: fatal: symbol `zif_apache_get_version' is multiply-defined:
(file sapi/apache/.libs/php_apache.o type=FUNC; file
sapi/apache2handler/.libs/php_functions.o type=FUNC);
ld: fatal: symbol `zif_virtual' is multiply-defined:
(file sapi/apache/.libs/php_apache.o type=FUNC; file
sapi/apache2handler/.libs/php_functions.o type=FUNC);
ld: fatal: symbol `zif_apache_lookup_uri' is multiply-defined:
(file sapi/apache/.libs/php_apache.o type=FUNC; file
sapi/apache2handler/.libs/php_functions.o type=FUNC);
ld: fatal: symbol `zif_apache_request_headers' is multiply-defined:
(file sapi/apache/.libs/php_apache.o type=FUNC; file
sapi/apache2handler/.libs/php_functions.o type=FUNC);
ld: fatal: symbol `zif_apache_setenv' is multiply-defined:
(file sapi/apache/.libs/php_apache.o type=FUNC; file
sapi/apache2handler/.libs/php_functions.o type=FUNC);
ld: fatal: symbol `zif_apache_response_headers' is multiply-defined:
(file sapi/apache/.libs/php_apache.o type=FUNC; file
sapi/apache2handler/.libs/php_functions.o type=FUNC);
ld: fatal: symbol `zif_apache_note' is multiply-defined:
(file sapi/apache/.libs/php_apache.o type=FUNC; file
sapi/apache2handler/.libs/php_functions.o type=FUNC);
ld: fatal: File processing errors. No output written to .libs/libphp5.so
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
Reproduce code:
---------------
Expected result:
----------------
Actual result:
--------------
--
Edit bug report at http://bugs.php.net/?id=41581&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=41581&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=41581&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=41581&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41581&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=41581&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41581&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41581&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41581&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41581&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41581&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=41581&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=41581&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41581&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41581&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41581&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41581&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41581&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41581&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41581&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41581&r=mysqlcfg