php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80725 ld: fatal: file processing errors. No output written to .libs/libphp7.so
Submitted: 2021-02-09 15:13 UTC Modified: -
From: stuart dot salter at dieboldnixdorf dot com Assigned:
Status: Open Package: *Compile Issues
PHP Version: 7.4.15 OS: Solaris 10
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2021-02-09 15:13 UTC] stuart dot salter at dieboldnixdorf dot com
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 !







Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Sep 26 11:03:37 2021 UTC