Bug #80708 [NEW]: ld: fatal: file /usr/local/lib/libiconv.so: wrong ELF class: ELFCLASS32
| From: | stuart dot salter at dieboldnixdorf dot com | Date: | Thu, 04 Feb 2021 08:37:05 +0000 |
| Subject: | Bug #80708 [NEW]: ld: fatal: file /usr/local/lib/libiconv.so: wrong ELF class: ELFCLASS32 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-231943@lists.php.net to get a copy of this message | ||
From: stuart dot salter at dieboldnixdorf dot com
Operating system: Solaris 10
PHP version: Irrelevant
Package: Compile Failure
Bug Type: Bug
Bug description:ld: fatal: file /usr/local/lib/libiconv.so: wrong ELF class: ELFCLASS32
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 !
--
Edit bug report at https://bugs.php.net/bug.php?id=80708&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80708&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80708&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80708&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80708&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80708&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80708&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80708&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80708&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80708&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80708&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80708&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80708&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80708&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80708&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80708&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80708&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80708&r=mysqlcfg