From: efrangul at mac dot com Operating system: Mac OS X 10.2.8 PHP version: 5CVS-2003-10-31 (dev) PHP Bug Type: Compile Failure Bug description: Could not link binary
Description: ------------ I can not link the executable. Version used: apache-2.0.48 mysql-standard-4.1.0-alpha gd-2.0.15 libxml2-2.6.1 libxslt-1.0.33 oracle-9.2.0.1.0 Java-1.4.1 Reproduce code: --------------- ./configure --prefix=/usr/local --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-gd=/usr/local/gd --with-openssl=/usr --with-simplexml --with-libxml-dir=/usr/local/xml --enable-exif --enable-ftp --enable-sockets --with-sysvshm --with-sysvsem --enable-safe-mode --enable-track-vars --enable-magic-quotes --enable-bcmath --enable-memory-limit=yes --with-kerberos=/usr --with-yp --enable-wddx --enable-shmop --enable-trans-sid --with-tsrm-pthreads --enable-calendar --with-zlib --with-java=/System/Library/Frameworks/JavaVM.framework/Home --with-oracle --with-freetype-dir=/usr/local/lib --with-iconv=/usr/local Expected result: ---------------- php binary created. Actual result: -------------- gcc -bundle -bundle_loader /usr/local/apache-2.0.48/ bin/httpd -L/usr/local/lib -L/usr/local/apache-2.0.48/ lib -laprutil-0 -lexpat -L/usr/local/apache-2.0.48/lib -lapr-0 -g -O2 -L/usr/local/xml2/lib -L/usr/local/lib -L/usr/local/gd/lib -L/usr/local/mysql/lib -L/oracle/ 9.2.0.1.0/lib ext/openssl/openssl.o ext/openssl/ xp_ssl.o ext/zlib/zlib.o ext/zlib/zlib_fopen_wrapper.o ext/bcmath/bcmath.o ext/bcmath/libbcmath/src/add.o ext/ bcmath/libbcmath/src/div.o ext/bcmath/libbcmath/src/ init.o ext/bcmath/libbcmath/src/neg.o ext/bcmath/ libbcmath/src/outofmem.o ext/bcmath/libbcmath/src/ raisemod.o ext/bcmath/libbcmath/src/rt.o ext/bcmath/ libbcmath/src/sub.o ext/bcmath/libbcmath/src/compare.o ext/bcmath/libbcmath/src/divmod.o ext/bcmath/libbcmath/ src/int2num.o ext/bcmath/libbcmath/src/num2long.o ext/ bcmath/libbcmath/src/output.o ext/bcmath/libbcmath/src/ recmul.o ext/bcmath/libbcmath/src/sqrt.o ext/bcmath/ libbcmath/src/zero.o ext/bcmath/libbcmath/src/debug.o ext/bcmath/libbcmath/src/doaddsub.o ext/bcmath/ libbcmath/src/nearzero.o ext/bcmath/libbcmath/src/ num2str.o ext/bcmath/libbcmath/src/raise.o ext/bcmath/ libbcmath/src/rmzero.o ext/bcmath/libbcmath/src/ str2num.o ext/calendar/calendar.o ext/calendar/dow.o ext/calendar/french.o ext/calendar/gregor.o ext/ calendar/jewish.o ext/calendar/julian.o ext/calendar/ easter.o ext/calendar/cal_unix.o ext/ctype/ctype.o ext/ dom/php_dom.o ext/dom/attr.o ext/dom/document.o ext/ dom/domerrorhandler.o ext/dom/domstringlist.o ext/dom/ domexception.o ext/dom/namelist.o ext/dom/ processinginstruction.o ext/dom/cdatasection.o ext/dom/ documentfragment.o ext/dom/domimplementation.o ext/dom/ element.o ext/dom/node.o ext/dom/string_extend.o ext/ dom/characterdata.o ext/dom/documenttype.o ext/dom/ domimplementationlist.o ext/dom/entity.o ext/dom/ nodelist.o ext/dom/text.o ext/dom/comment.o ext/dom/ domconfiguration.o ext/dom/domimplementationsource.o ext/dom/entityreference.o ext/dom/notation.o ext/dom/ xpath.o ext/dom/typeinfo.o ext/dom/domerror.o ext/dom/ domlocator.o ext/dom/namednodemap.o ext/dom/ userdatahandler.o ext/exif/exif.o ext/ftp/php_ftp.o ext/ftp/ftp.o ext/gd/gd.o ext/gd/gdttf.o ext/gd/ gdcache.o ext/iconv/iconv.o ext/libxml/libxml.o ext/ mysql/php_mysql.o ext/oracle/oracle.o ext/pcre/pcrelib/ maketables.o ext/pcre/pcrelib/get.o ext/pcre/pcrelib/ study.o ext/pcre/pcrelib/pcre.o ext/pcre/php_pcre.o ext/posix/posix.o ext/session/session.o ext/session/ mod_files.o ext/session/mod_mm.o ext/session/mod_user.o ext/shmop/shmop.o ext/simplexml/simplexml.o ext/ sockets/sockets.o ext/sqlite/sqlite.o ext/sqlite/ sess_sqlite.o ext/sqlite/libsqlite/src/opcodes.o ext/ sqlite/libsqlite/src/parse.o ext/sqlite/libsqlite/src/ encode.o ext/sqlite/libsqlite/src/auth.o ext/sqlite/ libsqlite/src/btree.o ext/sqlite/libsqlite/src/build.o ext/sqlite/libsqlite/src/delete.o ext/sqlite/libsqlite/ src/expr.o ext/sqlite/libsqlite/src/func.o ext/sqlite/ libsqlite/src/hash.o ext/sqlite/libsqlite/src/insert.o ext/sqlite/libsqlite/src/main.o ext/sqlite/libsqlite/ src/os.o ext/sqlite/libsqlite/src/pager.o ext/sqlite/ libsqlite/src/printf.o ext/sqlite/libsqlite/src/ random.o ext/sqlite/libsqlite/src/select.o ext/sqlite/ libsqlite/src/table.o ext/sqlite/libsqlite/src/ tokenize.o ext/sqlite/libsqlite/src/update.o ext/ sqlite/libsqlite/src/util.o ext/sqlite/libsqlite/src/ vdbe.o ext/sqlite/libsqlite/src/attach.o ext/sqlite/ libsqlite/src/btree_rb.o ext/sqlite/libsqlite/src/ pragma.o ext/sqlite/libsqlite/src/vacuum.o ext/sqlite/ libsqlite/src/copy.o ext/sqlite/libsqlite/src/where.o ext/sqlite/libsqlite/src/trigger.o regex/regcomp.o regex/regexec.o regex/regerror.o regex/regfree.o ext/ standard/array.o ext/standard/base64.o ext/standard/ basic_functions.o ext/standard/browscap.o ext/standard/ crc32.o ext/standard/crypt.o ext/standard/cyr_convert.o ext/standard/datetime.o ext/standard/dir.o ext/ standard/dl.o ext/standard/dns.o ext/standard/exec.o ext/standard/file.o ext/standard/filestat.o ext/ standard/flock_compat.o ext/standard/formatted_print.o ext/standard/fsock.o ext/standard/head.o ext/standard/ html.o ext/standard/image.o ext/standard/info.o ext/ standard/iptc.o ext/standard/lcg.o ext/standard/link.o ext/standard/mail.o ext/standard/math.o ext/standard/ md5.o ext/standard/metaphone.o ext/standard/microtime.o ext/standard/pack.o ext/standard/pageinfo.o ext/ standard/parsedate.o ext/standard/quot_print.o ext/ standard/rand.o ext/standard/reg.o ext/standard/ soundex.o ext/standard/string.o ext/standard/scanf.o ext/standard/syslog.o ext/standard/type.o ext/standard/ uniqid.o ext/standard/url.o ext/standard/url_scanner.o ext/standard/var.o ext/standard/versioning.o ext/ standard/assert.o ext/standard/strnatcmp.o ext/ standard/levenshtein.o ext/standard/incomplete_class.o ext/standard/url_scanner_ex.o ext/standard/ ftp_fopen_wrapper.o ext/standard/http_fopen_wrapper.o ext/standard/php_fopen_wrapper.o ext/standard/credits.o ext/standard/css.o ext/standard/var_unserializer.o ext/ standard/ftok.o ext/standard/sha1.o ext/standard/ user_filters.o ext/standard/uuencode.o ext/standard/ filters.o ext/standard/proc_open.o ext/standard/ sunfuncs.o ext/standard/streamsfuncs.o ext/standard/ http.o ext/tokenizer/tokenizer.o ext/wddx/wddx.o ext/ xml/xml.o ext/xml/compat.o TSRM/TSRM.o TSRM/ tsrm_strtok_r.o TSRM/tsrm_virtual_cwd.o main/main.o main/snprintf.o main/spprintf.o main/php_sprintf.o main/safe_mode.o main/fopen_wrappers.o main/alloca.o main/php_scandir.o main/php_ini.o main/SAPI.o main/ rfc1867.o main/php_content_types.o main/strlcpy.o main/ strlcat.o main/mergesort.o main/reentrancy.o main/ php_variables.o main/php_ticks.o main/network.o main/ php_open_temporary_file.o main/php_logos.o main/ output.o main/streams/streams.o main/streams/cast.o main/streams/memory.o main/streams/filter.o main/ streams/plain_wrapper.o main/streams/userspace.o main/ streams/transports.o main/streams/xp_socket.o main/ streams/mmap.o Zend/zend_language_parser.o Zend/ zend_language_scanner.o Zend/zend_ini_parser.o Zend/ zend_ini_scanner.o Zend/zend_alloc.o Zend/ zend_compile.o Zend/zend_constants.o Zend/ zend_dynamic_array.o Zend/zend_execute_API.o Zend/ zend_highlight.o Zend/zend_llist.o Zend/zend_opcode.o Zend/zend_operators.o Zend/zend_ptr_stack.o Zend/ zend_stack.o Zend/zend_variables.o Zend/zend.o Zend/ zend_API.o Zend/zend_extensions.o Zend/zend_hash.o Zend/zend_list.o Zend/zend_indent.o Zend/ zend_builtin_functions.o Zend/zend_sprintf.o Zend/ zend_ini.o Zend/zend_qsort.o Zend/zend_multibyte.o Zend/zend_ts_hash.o Zend/zend_stream.o Zend/ zend_iterators.o Zend/zend_interfaces.o Zend/ zend_objects.o Zend/zend_object_handlers.o Zend/ zend_objects_API.o Zend/zend_mm.o Zend/ zend_default_classes.o Zend/zend_reflection_api.o Zend/ zend_execute.o sapi/apache2handler/mod_php5.o sapi/ apache2handler/sapi_apache2.o sapi/apache2handler/ apache_config.o sapi/apache2handler/php_functions.o main/internal_functions.o -lmysqlclient -liconv -lgd - lfreetype -lz -lssl -lcrypto -lm -ldl -lxml2 -lz - liconv -lm -lxml2 -lz -liconv -lm -ldl -lpoll -lm - lclntsh -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -o libs/libphp5.bundle && cp libs/libphp5.bundle libs/ libphp5.so ld: warning multiple definitions of symbol _pcre_free ext/pcre/pcrelib/pcre.o definition of _pcre_free in section (__DATA,__data) /usr/local/apache-2.0.48/bin/httpd definition of _pcre_free ld: warning multiple definitions of symbol _pcre_malloc ext/pcre/pcrelib/pcre.o definition of _pcre_malloc in section (__DATA,__data) /usr/local/apache-2.0.48/bin/httpd definition of _pcre_malloc ld: warning multiple definitions of symbol _regcomp /usr/local/apache-2.0.48/bin/httpd definition of _regcomp /usr/lib/libm.dylib(regcomp.So) definition of _regcomp ld: warning multiple definitions of symbol _regexec /usr/local/apache-2.0.48/bin/httpd definition of _regexec /usr/lib/libm.dylib(regexec.So) definition of _regexec ld: warning multiple definitions of symbol _regfree /usr/local/apache-2.0.48/bin/httpd definition of _regfree /usr/lib/libm.dylib(regfree.So) definition of _regfree ld: warning multiple definitions of symbol _dlerror /usr/local/lib/libdl.dylib(dlfcn.o) definition of _dlerror /oracle/9.2.0.1.0/lib/libclntsh.dylib(dlopen.o) definition of _dlerror ld: warning multiple definitions of symbol _dlopen /usr/local/lib/libdl.dylib(dlfcn.o) definition of _dlopen /oracle/9.2.0.1.0/lib/libclntsh.dylib(dlopen.o) definition of _dlopen ld: multiple definitions of symbol _isStandalone /usr/local/xml2/lib/libxml2.dylib(libxml2.2.6.1.dylib- master.o) definition of _isStandalone /oracle/9.2.0.1.0/lib/libclntsh.dylib(oraxml.o) definition of _isStandalone make: *** [libs/libphp5.bundle] Error 1 -- Edit bug report at http://bugs.php.net/?id=26058&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26058&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26058&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26058&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26058&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26058&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26058&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26058&r=support Expected behavior: http://bugs.php.net/fix.php?id=26058&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26058&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26058&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26058&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26058&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26058&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26058&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26058&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26058&r=float