Bug #80708 [Com]: ld: fatal: file /usr/local/lib/libiconv.so: wrong ELF class: ELFCLASS32

From: Date: Mon, 08 Feb 2021 08:27:47 +0000
Subject: Bug #80708 [Com]: ld: fatal: file /usr/local/lib/libiconv.so: wrong ELF class: ELFCLASS32
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232005@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80708&edit=1

 ID:                 80708
 Comment by:         stuart dot salter at dieboldnixdorf dot com
 Reported by:        stuart dot salter at dieboldnixdorf dot com
 Summary:            ld: fatal: file /usr/local/lib/libiconv.so: wrong
                     ELF class: ELFCLASS32
 Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Solaris 10
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Hi there,

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

thankyou !


Previous Comments:
------------------------------------------------------------------------
[2021-02-04 15:19:23] rtrtrtrtrt at dfdfdfdf dot dfd35

> this is version 7.2.5 on Solaris 10 sparc

7.2 is EOL and completly unsupported

------------------------------------------------------------------------
[2021-02-04 15:12:12] stuart dot salter at dieboldnixdorf dot com

this is version 7.2.5 on Solaris 10 sparc

------------------------------------------------------------------------
[2021-02-04 08:37:05] 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 !






------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=80708&edit=1


Thread (6 messages)

« previous php.bugs (#232005) next »