php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60445 Getting ext/standard/user_fliter.lo is not a valid libtool object erro
Submitted: 2011-12-05 05:59 UTC Modified: 2016-06-26 04:22 UTC
Votes:8
Avg. Score:4.4 ± 0.9
Reproduced:5 of 7 (71.4%)
Same Version:2 (40.0%)
Same OS:2 (40.0%)
From: fbhombal at vercom dot com Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5.3.8 OS: RHEL 6.1 for POWER7
Private report: No CVE-ID: None
 [2011-12-05 05:59 UTC] fbhombal at vercom dot com
Description:
------------
Building on an IBM Power platform running RHEL 6.1 for power7.

I am trying to build a simple php with the following options:

$ configure --with-apxs2=/etc/apache2/bin/apxs

configure runs fine but the build fails during the make with the following error. 
The last step and the error is displayed below:

/bin/sh /usr/local/sw/php/libtool --silent --preserve-dup-deps --mode=link gcc -
I/usr/include -O3 -mcpu=power7 -mtune=power7 -m32 -fvisibility=hidden  -rpath 
/usr/local/sw/php/libs
........
libtool: link: `ext/standard/user_filters.lo' is not a valid libtool object
make: *** [libphp5.la] Error 1

Test script:
---------------
$ configure --with-apxs2=/etc/apache2/bin/apxs
$ make
$ make install

Fails on make

Expected result:
----------------
Should make correctly.

Actual result:
--------------
/bin/sh /usr/local/sw/php/libtool --silent --preserve-dup-deps --mode=link gcc -
I/usr/include -O3 -mcpu=power7 -mtune=power7 -m32 -fvisibility=hidden  -rpath 
/usr/local/sw/php/libs -avoid-version -module -L/usr/local/lib -m32 -R 
/usr/local/lib 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.lo ext/date/lib/timelib.lo 
ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo 
ext/date/lib/parse_iso_intervals.lo ext/date/lib/interval.lo ext/ereg/ereg.lo 
ext/ereg/regex/regcomp.lo ext/ereg/regex/regexec.lo ext/ereg/regex/regerror.lo 
ext/ereg/regex/regfree.lo ext/libxml/libxml.lo 
ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucd.lo 
ext/pcre/pcrelib/pcre_compile.lo 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/pcrelib/pcre_newline.lo ext/pcre/pcrelib/pcre_ord2utf8.lo 
ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo 
ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_try_flipped.lo 
ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo 
ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/sqlite3/sqlite3.lo 
ext/sqlite3/libsqlite/sqlite3.lo ext/ctype/ctype.lo 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 ext/dom/domimplementation.lo ext/dom/element.lo 
ext/dom/node.lo ext/dom/string_extend.lo ext/dom/characterdata.lo 
ext/dom/documenttype.lo ext/dom/domimplementationlist.lo ext/dom/entity.lo 
ext/dom/nodelist.lo ext/dom/text.lo ext/dom/comment.lo 
ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo 
ext/dom/entityreference.lo ext/dom/notation.lo ext/dom/xpath.lo 
ext/dom/dom_iterators.lo ext/dom/typeinfo.lo ext/dom/domerror.lo 
ext/dom/domlocator.lo ext/dom/namednodemap.lo ext/dom/userdatahandler.lo 
ext/fileinfo/fileinfo.lo ext/fileinfo/libmagic/apprentice.lo 
ext/fileinfo/libmagic/apptype.lo ext/fileinfo/libmagic/ascmagic.lo 
ext/fileinfo/libmagic/cdf.lo ext/fileinfo/libmagic/cdf_time.lo 
ext/fileinfo/libmagic/compress.lo ext/fileinfo/libmagic/encoding.lo 
ext/fileinfo/libmagic/fsmagic.lo ext/fileinfo/libmagic/funcs.lo 
ext/fileinfo/libmagic/is_tar.lo ext/fileinfo/libmagic/magic.lo 
ext/fileinfo/libmagic/print.lo ext/fileinfo/libmagic/readcdf.lo 
ext/fileinfo/libmagic/readelf.lo ext/fileinfo/libmagic/softmagic.lo 
ext/filter/filter.lo ext/filter/sanitizing_filters.lo 
ext/filter/logical_filters.lo ext/filter/callback_filter.lo ext/hash/hash.lo 
ext/hash/hash_md.lo ext/hash/hash_sha.lo ext/hash/hash_ripemd.lo 
ext/hash/hash_haval.lo ext/hash/hash_tiger.lo ext/hash/hash_gost.lo 
ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo 
ext/hash/hash_crc32.lo ext/hash/hash_salsa.lo ext/iconv/iconv.lo ext/json/json.lo 
ext/json/utf8_to_utf16.lo ext/json/utf8_decode.lo ext/json/JSON_parser.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/phar/util.lo ext/phar/tar.lo ext/phar/zip.lo ext/phar/stream.lo 
ext/phar/func_interceptors.lo ext/phar/dirstream.lo ext/phar/phar.lo 
ext/phar/phar_object.lo ext/phar/phar_path_check.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/simplexml/sxe.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_exceptions.lo ext/spl/spl_observer.lo 
ext/spl/spl_dllist.lo ext/spl/spl_heap.lo ext/spl/spl_fixedarray.lo 
ext/sqlite/sqlite.lo ext/sqlite/sess_sqlite.lo ext/sqlite/pdo_sqlite2.lo 
ext/sqlite/libsqlite/src/opcodes.lo ext/sqlite/libsqlite/src/parse.lo 
ext/sqlite/libsqlite/src/encode.lo ext/sqlite/libsqlite/src/auth.lo 
ext/sqlite/libsqlite/src/btree.lo ext/sqlite/libsqlite/src/build.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/libsqlite/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/update.lo 
ext/sqlite/libsqlite/src/util.lo ext/sqlite/libsqlite/src/vdbe.lo 
ext/sqlite/libsqlite/src/attach.lo ext/sqlite/libsqlite/src/btree_rb.lo 
ext/sqlite/libsqlite/src/pragma.lo ext/sqlite/libsqlite/src/vacuum.lo 
ext/sqlite/libsqlite/src/copy.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 ext/standard/crypt_freesec.lo 
ext/standard/crypt_blowfish.lo ext/standard/crypt_sha512.lo 
ext/standard/crypt_sha256.lo ext/standard/php_crypt_r.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/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo 
ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo 
ext/standard/filestat.lo ext/standard/flock_compat.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/standard/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/soundex.lo ext/standard/string.lo ext/standard/scanf.lo 
ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo 
ext/standard/url.lo ext/standard/var.lo ext/standard/versioning.lo 
ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo 
ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo 
ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo 
ext/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/standard/user_filters.lo ext/standard/uuencode.lo ext/standard/filters.lo 
ext/standard/proc_open.lo ext/standard/streamsfuncs.lo ext/standard/http.lo 
ext/tokenizer/tokenizer.lo ext/tokenizer/tokenizer_data.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 
main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo 
main/php_ticks.lo main/network.lo main/php_open_temporary_file.lo 
main/php_logos.lo main/output.lo main/getopt.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 
main/streams/transports.lo main/streams/xp_socket.lo main/streams/mmap.lo 
main/streams/glob_wrapper.lo Zend/zend_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 
Zend/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_iterators.lo Zend/zend_interfaces.lo 
Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo 
Zend/zend_float.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo 
Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_execute.lo 
sapi/apache2handler/mod_php5.lo sapi/apache2handler/sapi_apache2.lo 
sapi/apache2handler/apache_config.lo sapi/apache2handler/php_functions.lo 
main/internal_functions.lo -lcrypt -lresolv -lcrypt -lrt -lrt -lm -ldl -lnsl -
lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm 
-lxml2 -lz -lm -lcrypt  -o libphp5.la
libtool: link: `ext/standard/user_filters.lo' is not a valid libtool object
make: *** [libphp5.la] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-23 07:22 UTC] lzsiga at freemail dot c3 dot hu
Three little questions:

Is any of your disks/partitions full?

Does the compilation-log show any error-message regarding the compilation of user_filtes.c? (If you don't have a compilation-log, then restart with something like this: 'make all 2>&1 | tee log.make.all')

What is the content of ext/standard/user_filters.lo? It should be a plain text-file.
 [2016-06-13 18:16 UTC] cmb@php.net
-Status: Open +Status: Feedback
 [2016-06-13 18:16 UTC] cmb@php.net
Does that still happen with recent PHP versions?
 [2016-06-15 00:09 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2016-06-26 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 14:01:30 2024 UTC