php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41581 compiling failure in Solaris 9
Submitted: 2007-06-04 08:56 UTC Modified: 2007-06-04 09:10 UTC
From: lj979 at hotmaill dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 5.2.3 OS: Solaris 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lj979 at hotmaill dot com
New email:
PHP Version: OS:

 

 [2007-06-04 08:56 UTC] 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:
--------------
 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-04 09:10 UTC] tony2001@php.net
   --with-apxs=/usr/local/apache/bin/apxs \
   --with-apxs2=/usr/local/apache2/bin/apxs \

These options are mutually exclusive.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 09 16:00:01 2025 UTC