php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80708 ld: fatal: file /usr/local/lib/libiconv.so: wrong ELF class: ELFCLASS32
Submitted: 2021-02-04 08:37 UTC Modified: 2021-08-22 04:22 UTC
From: stuart dot salter at dieboldnixdorf dot com Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 7.4 OS: Solaris 10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: stuart dot salter at dieboldnixdorf dot com
New email:
PHP Version: OS:

 

 [2021-02-04 08:37 UTC] stuart dot salter at dieboldnixdorf dot com
Description:
------------
We're configuring with the following options:

./configure \
        --disable-xml \
        --disable-libxml \
        --disable-dom \
        --disable-simplexml \
        --disable-xmlreader \
        --disable-xmlwriter \
        --without-pear \
        --without-sqlite3 \
        --without-pdo-sqlite \

when running 'make' we get the following error:

.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo Zend/zend_float.lo Zend/ze      nd_string.lo Zend/zend_signal.lo Zend/zend_generators.lo Zend/zend_virtual_cwd.lo Zend/zend_ast.lo Zend/zend_obj      ects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_inheritance      .lo Zend/zend_smart_str.lo Zend/zend_execute.lo main/internal_functions_cli.lo sapi/cli/php_cli.lo sapi/cli/php_      http_parser.lo sapi/cli/php_cli_server.lo sapi/cli/ps_title.lo sapi/cli/php_cli_process_title.lo -lresolv -licon      v -lrt -lm -lnsl -lsocket -lgcc  -o sapi/cli/php
ld: fatal: file /usr/local/lib/libiconv.so: wrong ELF class: ELFCLASS32
ld: fatal: file processing errors. No output written to sapi/cli/php
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'

paths are set as follows:

echo $PATH
/opt/csw/bin:/usr/bin:/usr/sbin:/opt/solarisstudio12.3/bin:/usr/local/bin:/app/mysql/usr/local/mysql/bin:/usr/local/bin/gcc:/usr/sbin:/usr/bin:/usr/local/bin:/usr/ccs/bin
# echo $LD_LIBRARY_PATH
/opt/csw/lib:/usr/local/64/lib:/usr/sfw/lib/sparcv9/:/usr/apache2.2/pcre/lib/:/usr/apache2.2/apr_util/lib/:/usr/apache2.2/apr/lib/
# echo $PKG_CONFIG_PATH
/opt/csw/bin:/usr/lib:/usr/local/lib:/usr/include:/usr/local/include:/opt/csw/lib:


could you help please ? thankyou !





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-02-04 15:12 UTC] stuart dot salter at dieboldnixdorf dot com
this is version 7.2.5 on Solaris 10 sparc
 [2021-02-04 15:19 UTC] rtrtrtrtrt at dfdfdfdf dot dfd35
> this is version 7.2.5 on Solaris 10 sparc

7.2 is EOL and completly unsupported
 [2021-02-08 08:27 UTC] stuart dot salter at dieboldnixdorf dot com
Hi there,

We are also getting the same error while trying to compile PHP 7.4 ! could you help with that please ?

thankyou !
 [2021-08-09 14:17 UTC] cmb@php.net
-Status: Open +Status: Feedback -PHP Version: Irrelevant +PHP Version: 7.4 -Assigned To: +Assigned To: cmb
 [2021-08-09 14:17 UTC] cmb@php.net
Has config.log further information?
 [2021-08-22 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 Apr 25 08:01:28 2024 UTC