ID: 41581
Updated by: [EMAIL PROTECTED]
Reported By: lj979 at hotmaill dot com
-Status: Open
+Status: Bogus
Bug Type: *Compile Issues
Operating System: Solaris 9
PHP Version: 5.2.3
New Comment:
--with-apxs=/usr/local/apache/bin/apxs \
--with-apxs2=/usr/local/apache2/bin/apxs \
These options are mutually exclusive.
Previous Comments:
------------------------------------------------------------------------
[2007-06-04 08:56:23] lj979 at hotmaill dot com
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 this bug report at http://bugs.php.net/?id=41581&edit=1