Bug #80725 [NEW]: ld: fatal: file processing errors. No output written to .libs/libphp7.so

From: Date: Tue, 09 Feb 2021 15:13:07 +0000
Subject: Bug #80725 [NEW]: ld: fatal: file processing errors. No output written to .libs/libphp7.so
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232027@lists.php.net to get a copy of this message
From:             stuart dot salter at dieboldnixdorf dot com
Operating system: Solaris 10
PHP version:      7.4.15
Package:          *Compile Issues
Bug Type:         Bug
Bug description:ld: fatal: file processing errors. No output written to .libs/libphp7.so

Description:
------------
Hi there,

I'm getting the following error when running 'make':

Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dtrace.lo
Zend/zend_execute_API.lo Zend/zend_highlight.lo Z          
end/zend_llist.lo Zend/zend_vm_opcodes.lo Zend/zend_opcode.lo
Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/z          
end_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/z           end_list.lo
Zend/zend_builtin_functions.lo Zend/zend_ini.lo Zend/zend_sort.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_strto           d.lo Zend/zend_gc.lo
Zend/zend_closures.lo Zend/zend_weakrefs.lo Zend/zend_float.lo
Zend/zend_string.lo Zend/zend_           signal.lo
Zend/zend_generators.lo Zend/zend_virtual_cwd.lo Zend/zend_ast.lo
Zend/zend_objects.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_cpuinfo.lo Zend/zend_execute.lo
sapi/apache2handler/mod_php7.lo sapi/apache2handler/sapi_apache2.lo sapi
          /apache2handler/apache_config.lo
sapi/apache2handler/php_functions.lo main/internal_functions.lo -lresolv
-lrt -li           conv -lintl -lrt -lm -lnsl -lsocket -lgcc  -o
libphp7.la
ld: fatal: file ext/sockets/: unknown file type
ld: fatal: file processing errors. No output written to
.libs/libphp7.so
*** Error code 1
make: Fatal error: Command failed for target `libphp7.la'
# env|grep ^C
# pwd
/app/INSTALL_FILES/php-7.4.13

my configure is as follows:

./configure \
        --without-sqlite3 \
        --without-pdo-sqlite \
        --with-apxs2=/usr/apache2/bin/apxs \
        --with-zlib \
        --disable-ipv6 \
        --with-pear \
        --with-openssl \
        --enable-bcmath \
        --enable-ctype \
        --enable-sockets \
        --enable-mbstring \
        --with-gettext \
        --prefix=/usr/php \
        --disable-xmlwriter \
        LIBXML_CFLAGS=-I/usr/local/include/libxml2 \
        LIBXML_LIBS=-L/usr/local/lib \
        OPENSSL_CFLAGS=-I/usr/include/openssl \
        OPENSSL_LIBS=-L/usr/local/ssl/include \
        SQLITE_CFLAGS=-I/usr/php/include/php/ext \
        SQLITE_LIBS=-L/usr/php/include/php/ext \
        ZLIB_CFLAGS=-I/usr/include \
        ZLIB_LIBS=-L/usr/include \
        ONIG_CFLAGS=-I/usr/local/include/php/ext/mbstring \
        ONIG_LIBS=-L/local/include/php/ext/mbstring

environment Is set as follows:

LDFLAGS=-L/opt/csw/lib/gcc -L/usr/local/lib -R/opt/csw/lib/gcc
LD_LIBRARY_PATH=/opt/csw/bin/sparcv9:/opt/csw/lib/sparcv9:/usr/local/include/php/ext/sqlite3/libsqlite:/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
LD_LIBRARY_PATH_64=/opt/csw/lib/sparcv9:/usr/local/64/lib:/usr/sfw/lib/sparcv9

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
LD_LIBRARY_PATH_64=/opt/csw/lib/sparcv9:/usr/local/64/lib:/usr/sfw/lib/sparcv9
PKG_CONFIG_PATH=/usr/local/include/php/ext/sqlite3/libsqlite:/app/INSTALL_FILES/php-7.4.13/ext:/usr/local/lib/pkgconfig:/opt/csw/bin:/usr/lib:/usr/local/lib:/usr/include:/usr/local/include:/opt/csw/lib:
LD_LIBRARY_PATH=/opt/csw/bin/sparcv9:/opt/csw/lib/sparcv9:/usr/local/include/php/ext/sqlite3/libsqlite:/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

any help much appreciated !







-- 
Edit bug report at https://bugs.php.net/bug.php?id=80725&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=80725&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=80725&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=80725&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=80725&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=80725&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=80725&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=80725&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=80725&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=80725&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=80725&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80725&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=80725&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=80725&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=80725&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=80725&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=80725&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=80725&r=mysqlcfg


Thread (1 message)

  • stuart dot salter at dieboldnixdorf dot com
« previous php.bugs (#232027) next »