ID: 40310 Updated by: [EMAIL PROTECTED] Reported By: sjohns at nerfarena dot org -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Solaris/SPARC V10 PHP Version: 5.2.0 Assigned To: tony2001 New Comment:
You have some mess with mysql libraries in your system Some of them are in /usr/local/mysq/lib, the others are in in /usr/local/lib/mysql. For some reason there are two xml2-config's and probably two libxml2.so etc. So it looks to me that the linking problems are not PHP issues. Feel free to reopen the report, though, if you have some more information about it (or if you make the machine to run a bit faster - waiting for PHP build for 3 hours is a _pain_). Previous Comments: ------------------------------------------------------------------------ [2007-02-05 21:28:05] sjohns at nerfarena dot org Hi Tony, I have no clue how that could have happened. I have never attempted to build without using the option flags that I have listed in the original bug report. Believe me, it won't build. Also, there appears to be nothing that I can do about libxml2 at the moment since the project website is down so I cannot obtain the source. I have a suspicion that the problem lies with enabling mysqli support, so I am attempting to build without enabling this option. So far the build looks good, and has already gone well past the point where it failed before. However, I need the new extensions that mysqli provides so I need a solution to this. Do you have any insite into what could be the problem? ------------------------------------------------------------------------ [2007-02-05 20:09:39] [EMAIL PROTECTED] But the config.nice file in php-5.2.0 contained just "./configure". ------------------------------------------------------------------------ [2007-02-05 19:47:29] sjohns at nerfarena dot org >you were using just"./configure"?? As per the original bug report, my configuration is as below. This is considerably more than just running configure with no options. ./configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --enable-libgcc \ --with-openssl=yes \ --with-openssl-dir=/usr/local/ssl \ --with-jpeg-dir=/usr/lib \ --with-png-dir=/usr/lib \ --with-freetype-dir=/usr/local/lib \ --with-xpm-dir=/usr/lib --with-mysql-sock=/tmp/mysql.sock \ --enable-ftp \ --with-mysql \ --with-mysql=/usr/local/mysql \ --with-mysqli \ --with-zlib \ --with-zlib=/usr/include \ --disable-ipv6 ------------------------------------------------------------------------ [2007-02-05 19:34:06] [EMAIL PROTECTED] >Are you sure that you used the same configuration flags that I did? I'm sure I used different options, because you were using just "./configure". That apparently would not work, because the libxml2 version available on this machine is lower than the required one. >The build fails at the same point that it did before "at the same point"?! It's completely different point. >however it is now complaining about symbol referencing errors: Looks like a problem with libmysqlclient to me. ------------------------------------------------------------------------ [2007-02-05 19:28:20] sjohns at nerfarena dot org Are you sure that you used the same configuration flags that I did? The source files that I used were downloaded from PHP.net and not moved from from some other machine. However, just to prove the point I deleted the old source files and downloaded them again. The build fails at the same point that it did before, however it is now complaining about symbol referencing errors: /bin/sh /export/sunsource/php-5.2.0/libtool --silent --preserve-dup-deps --mode= link gcc -export-dynamic -I/usr/local/include -g -O2 -L/usr/ucblib -L/usr/local /lib/gcc/sparc-sun-solaris2.10/3.4.6 -L/usr/local/lib -L/usr/sfw/lib -L/usr/loca l/mysql/lib -L/usr/local/lib/mysql -L/usr/local/ssl/lib -R /usr/ucblib -R /usr/ local/lib/gcc/sparc-sun-solaris2.10/3.4.6 -R /usr/local/lib -R /usr/sfw/lib -R / usr/local/mysql/lib -R /usr/local/lib/mysql -R /usr/local/ssl/lib ext/libxml/lib xml.lo ext/openssl/openssl.lo ext/openssl/xp_ssl.lo ext/pcre/pcrelib/pcre_charta bles.lo ext/pcre/pcrelib/pcre_ucp_searchfuncs.lo ext/pcre/pcrelib/pcre_compile.l o ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib /pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrel ib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_stud y.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_try_flipped.lo ext/pc re/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/ pcre_xclass.lo ext/pcre/php_pcre.lo ext/zlib/zlib.lo ext/zlib/zlib_fopen_wrapper .lo ext/zlib/zlib_filter.lo ext/ctype/ctype.lo ext/date/php_date.lo ext/date/lib /astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo ext/date/lib/parse_tz.l o ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.l o ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo ext/dom/domerrorhandler .lo ext/dom/domstringlist.lo ext/dom/domexception.lo ext/dom/namelist.lo ext/dom /processinginstruction.lo ext/dom/cdatasection.lo ext/dom/documentfragment.lo ex t/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo ext/dom/string_ext end.lo ext/dom/characterdata.lo ext/dom/documenttype.lo ext/dom/domimplementatio nlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo ext/dom/comment.l o ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo ext/dom/entityr eference.lo ext/dom/notation.lo ext/dom/xpath.lo ext/dom/dom_iterators.lo ext/do m/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo ext/dom/namednodemap.lo ext/dom/userdatahandler.lo ext/filter/filter.lo ext/filter/sanitizing_filters.lo ext/filter/logical_filters.lo ext/filter/callback_filter.lo ext/ftp/php_ftp.lo ext/ftp/ftp.lo ext/hash/hash.lo ext/hash/hash_md.lo ext/hash/hash_sha.lo ext/has h/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo ext/hash/hash_gos t.lo ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo ext/hash/hash_crc32.lo ext/iconv/iconv.lo ext/json/json.lo ext/json/utf8_to_utf 16.lo ext/json/utf8_decode.lo ext/json/JSON_parser.lo ext/mysql/php_mysql.lo ext /mysqli/mysqli.lo ext/mysqli/mysqli_api.lo ext/mysqli/mysqli_prop.lo ext/mysqli/ mysqli_nonapi.lo ext/mysqli/mysqli_fe.lo ext/mysqli/mysqli_report.lo ext/mysqli/ mysqli_repl.lo ext/mysqli/mysqli_driver.lo ext/mysqli/mysqli_warning.lo ext/mysq li/mysqli_exception.lo ext/mysqli/mysqli_embedded.lo ext/pdo/pdo.lo ext/pdo/pdo_ dbh.lo ext/pdo/pdo_stmt.lo ext/pdo/pdo_sql_parser.lo ext/pdo/pdo_sqlstate.lo ext /pdo_sqlite/pdo_sqlite.lo ext/pdo_sqlite/sqlite_driver.lo ext/pdo_sqlite/sqlite_ statement.lo ext/pdo_sqlite/sqlite/src/attach.lo ext/pdo_sqlite/sqlite/src/auth. lo ext/pdo_sqlite/sqlite/src/btree.lo ext/pdo_sqlite/sqlite/src/build.lo ext/pdo _sqlite/sqlite/src/callback.lo ext/pdo_sqlite/sqlite/src/date.lo ext/pdo_sqlite/ sqlite/src/delete.lo ext/pdo_sqlite/sqlite/src/expr.lo ext/pdo_sqlite/sqlite/src /func.lo ext/pdo_sqlite/sqlite/src/hash.lo ext/pdo_sqlite/sqlite/src/insert.lo e xt/pdo_sqlite/sqlite/src/legacy.lo ext/pdo_sqlite/sqlite/src/main.lo ext/pdo_sql ite/sqlite/src/os_unix.lo ext/pdo_sqlite/sqlite/src/os_win.lo ext/pdo_sqlite/sql ite/src/os.lo ext/pdo_sqlite/sqlite/src/pager.lo ext/pdo_sqlite/sqlite/src/pragm a.lo ext/pdo_sqlite/sqlite/src/prepare.lo ext/pdo_sqlite/sqlite/src/printf.lo ex t/pdo_sqlite/sqlite/src/random.lo ext/pdo_sqlite/sqlite/src/select.lo ext/pdo_sq lite/sqlite/src/table.lo ext/pdo_sqlite/sqlite/src/tokenize.lo ext/pdo_sqlite/sq lite/src/analyze.lo ext/pdo_sqlite/sqlite/src/complete.lo ext/pdo_sqlite/sqlite/ src/trigger.lo ext/pdo_sqlite/sqlite/src/update.lo ext/pdo_sqlite/sqlite/src/utf .lo ext/pdo_sqlite/sqlite/src/util.lo ext/pdo_sqlite/sqlite/src/vacuum.lo ext/pd o_sqlite/sqlite/src/vdbeapi.lo ext/pdo_sqlite/sqlite/src/vdbeaux.lo ext/pdo_sqli te/sqlite/src/vdbe.lo ext/pdo_sqlite/sqlite/src/vdbemem.lo ext/pdo_sqlite/sqlite /src/where.lo ext/pdo_sqlite/sqlite/src/parse.lo ext/pdo_sqlite/sqlite/src/opcod es.lo ext/pdo_sqlite/sqlite/src/alter.lo ext/pdo_sqlite/sqlite/src/vdbefifo.lo e xt/pdo_sqlite/sqlite/src/vtab.lo ext/pdo_sqlite/sqlite/src/loadext.lo ext/posix/ posix.lo ext/reflection/php_reflection.lo ext/session/session.lo ext/session/mod _files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/simplexml/simplexml. lo ext/spl/php_spl.lo ext/spl/spl_functions.lo ext/spl/spl_engine.lo ext/spl/spl _iterators.lo ext/spl/spl_array.lo ext/spl/spl_directory.lo ext/spl/spl_sxe.lo e xt/spl/spl_exceptions.lo ext/spl/spl_observer.lo ext/sqlite/sqlite.lo ext/sqlite /sess_sqlite.lo ext/sqlite/pdo_sqlite2.lo ext/sqlite/libsqlite/src/opcodes.lo ex t/sqlite/libsqlite/src/parse.lo ext/sqlite/libsqlite/src/encode.lo ext/sqlite/li bsqlite/src/auth.lo ext/sqlite/libsqlite/src/btree.lo ext/sqlite/libsqlite/src/b uild.lo ext/sqlite/libsqlite/src/delete.lo ext/sqlite/libsqlite/src/expr.lo ext/ sqlite/libsqlite/src/func.lo ext/sqlite/libsqlite/src/hash.lo ext/sqlite/libsqli te/src/insert.lo ext/sqlite/libsqlite/src/main.lo ext/sqlite/libsqlite/src/os.lo ext/sqlite/libsqlite/src/pager.lo ext/sqlite/libsqlite/src/printf.lo ext/sqlite /libsqlite/src/random.lo ext/sqlite/libsqlite/src/select.lo ext/sqlite/libsqlite /src/table.lo ext/sqlite/libsqlite/src/tokenize.lo ext/sqlite/libsqlite/src/upda te.lo ext/sqlite/libsqlite/src/util.lo ext/sqlite/libsqlite/src/vdbe.lo ext/sqli te/libsqlite/src/attach.lo ext/sqlite/libsqlite/src/btree_rb.lo ext/sqlite/libsq lite/src/pragma.lo ext/sqlite/libsqlite/src/vacuum.lo ext/sqlite/libsqlite/src/c opy.lo ext/sqlite/libsqlite/src/vdbeaux.lo ext/sqlite/libsqlite/src/date.lo ext/ sqlite/libsqlite/src/where.lo ext/sqlite/libsqlite/src/trigger.lo regex/regcomp. lo regex/regexec.lo regex/regerror.lo regex/regfree.lo ext/standard/array.lo ext /standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext /standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standar d/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/sta ndard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_c ompat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head .lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard /iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/stand ard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime .lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/quot_print.lo ext /standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo ext/standard/strin g.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/stand ard/uniqid.lo ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.l o ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ex t/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scan ner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo e xt/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext /standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/sha1.lo ext/stan dard/user_filters.lo ext/standard/uuencode.lo ext/standard/filters.lo ext/standa rd/proc_open.lo ext/standard/streamsfuncs.lo ext/standard/http.lo ext/tokenizer/ tokenizer.lo ext/xml/xml.lo ext/xml/compat.lo ext/xmlreader/php_xmlreader.lo ext /xmlwriter/php_xmlwriter.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual _cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/ safe_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo ma in/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/ph p_ticks.lo main/network.lo main/php_open_temporary_file.lo main/php_logos.lo mai n/output.lo main/streams/streams.lo main/streams/cast.lo main/streams/memory.lo main/streams/filter.lo main/streams/plain_wrapper.lo main/streams/userspace.lo m ain/streams/transports.lo main/streams/xp_socket.lo main/streams/mmap.lo Zend/ze nd_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend /zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants .lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Z end/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack .lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend /zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend /zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort .lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_it erators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Z end/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/z end_mm.lo Zend/zend_default_classes.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/php_cli_readline.lo sapi/cli/getopt.lo main/internal_functions_cli.lo - lrt -lmysqlclient -liconv -lz -lresolv -lm -lnsl -lsocket -lgcc -lxml2 -lz -lico nv -lm -lsocket -lnsl -lssl -lcrypto -lsocket -lnsl -ldl -lxml2 -lz -liconv -lm -lsocket -lnsl -lssl -lcrypto -lsocket -lnsl -ldl -lmysqlclient -lz -lposix4 -lg en -lsocket -lnsl -lm -lssl -lcrypto -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml 2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -l z -liconv -lm -lsocket -lnsl -o sapi/cli/php Undefined first referenced symbol in file mysql_stmt_param_count ext/mysqli/.libs/mysqli_api.o mysql_set_character_set ext/mysqli/.libs/mysqli_nonapi.o mysql_stmt_send_long_data ext/mysqli/.libs/mysqli_api.o mysql_stmt_data_seek ext/mysqli/.libs/mysqli_api.o mysql_stmt_insert_id ext/mysqli/.libs/mysqli_api.o mysql_stmt_store_result ext/mysqli/.libs/mysqli_api.o mysql_stmt_reset ext/mysqli/.libs/mysqli_api.o mysql_stmt_close ext/mysqli/.libs/mysqli.o mysql_stmt_fetch ext/mysqli/.libs/mysqli_api.o mysql_stmt_error ext/mysqli/.libs/mysqli_api.o mysql_stmt_errno ext/mysqli/.libs/mysqli_api.o mysql_commit ext/mysqli/.libs/mysqli_api.o mysql_get_server_version ext/mysqli/.libs/mysqli_api.o mysql_stmt_attr_set ext/mysqli/.libs/mysqli_api.o mysql_stmt_attr_get ext/mysqli/.libs/mysqli_api.o mysql_next_result ext/mysqli/.libs/mysqli_api.o mysql_stmt_free_result ext/mysqli/.libs/mysqli_api.o mysql_stmt_bind_result ext/mysqli/.libs/mysqli_api.o mysql_stmt_num_rows ext/mysqli/.libs/mysqli_api.o mysql_warning_count ext/mysqli/.libs/mysqli_api.o mysql_stmt_prepare ext/mysqli/.libs/mysqli.o mysql_rollback ext/mysqli/.libs/mysqli_api.o mysql_stmt_bind_param ext/mysqli/.libs/mysqli_api.o mysql_sqlstate ext/mysqli/.libs/mysqli_api.o mysql_stmt_sqlstate ext/mysqli/.libs/mysqli_api.o mysql_get_character_set_info ext/mysqli/.libs/mysqli_nonapi.o mysql_more_results ext/mysqli/.libs/mysqli_api.o mysql_stmt_field_count ext/mysqli/.libs/mysqli_api.o mysql_get_client_version ext/mysqli/.libs/mysqli_api.o mysql_stmt_execute ext/mysqli/.libs/mysqli_api.o mysql_stmt_affected_rows ext/mysqli/.libs/mysqli_api.o mysql_stmt_result_metadata ext/mysqli/.libs/mysqli_api.o mysql_autocommit ext/mysqli/.libs/mysqli_api.o mysql_stmt_init ext/mysqli/.libs/mysqli.o mysql_set_local_infile_handler ext/mysqli/.libs/mysqli.o mysql_set_server_option ext/mysqli/.libs/mysqli_api.o ld: fatal: Symbol referencing errors. No output written to sapi/cli/php collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 # ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40310 -- Edit this bug report at http://bugs.php.net/?id=40310&edit=1