Bug #73996 [Fbk->NoF]: gmake: *** [sapi/cli/php] Error 1

From: Date: Sun, 11 Jul 2021 04:22:12 +0000
Subject: Bug #73996 [Fbk->NoF]: gmake: *** [sapi/cli/php] Error 1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234950@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73996&edit=1 ID: 73996 Updated by: php-bugs@lists.php.net Reported by: bercomic at gmail dot com Summary: gmake: *** [sapi/cli/php] Error 1 -Status: Feedback +Status: No Feedback Type: Bug Package: Compile Failure Operating System: Solaris 11.3 PHP Version: 7.1.1 Assigned To: cmb Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2021-07-02 16:56:30] cmb@php.net Is this still an issue for you with any of the actively supported PHP versions[1]? [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2019-04-10 10:53:15] ranvir dot chandard at thecoventry dot co dot uk I've had similar issue compiling V7.1.1 on Solaris 10 I used the following based on https://lucamerello.wordpress.com/2015/01/29/solaris-10-how-to-build-and-install-php/ unset LD_LIBRARY_PATH umask 0000 export CFLAGS="-std=gnu99 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" export EXTENSION_DIR=/usr/local/lib/php/ext export LDFLAGS="-L/usr/lib -R/usr/lib" ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-ldap --with-zlib=yes --with-libxml-dir=/usr/local --with-openssl --with-openssl-dir=/usr/local/ssl --enable-shared --enable-sigchild --enable-sockets --without-sqlite3 --without-pdo-sqlite --disable-ipv6 --with-pear=/usr/local/lib/php Hope that helps ------------------------------------------------------------------------ [2017-01-25 22:39:08] cmb@php.net Related To: Bug #73995 ------------------------------------------------------------------------ [2017-01-25 16:14:13] bercomic at gmail dot com Description: ------------ CC="gcc -std=gnu99" ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/lib \ --with-curl=/usr/local/ --with-gettext --with-libxml-dir=/usr/local --with-zlib=/usr/local --with-xpm-dir=/usr/local \ --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqli --disable-phar --without-pgsql --with-jpeg-dir=/usr/local/lib \ --with-zlib-dir=/usr/local/lib --enable-mbstring --enable-exif --enable-soap --with-png-dir=/usr/local/lib \ --with-pcre-dir=/usr/local --with-ldap=/usr/local --with-openssl --with-freetype-dir=/usr/local --with-gd=/usr/local --enable-opcache Undefined first referenced symbol in file EC_KEY_get0_group ext/openssl/.libs/openssl.o EVP_PKEY_get1_EC_KEY ext/openssl/.libs/openssl.o EC_GROUP_get_curve_name ext/openssl/.libs/openssl.o EC_KEY_get0_private_key ext/openssl/.libs/openssl.o EC_KEY_free ext/openssl/.libs/xp_ssl.o EC_KEY_new_by_curve_name ext/openssl/.libs/xp_ssl.o PEM_write_bio_ECPrivateKey ext/openssl/.libs/openssl.o ld: fatal: symbol referencing errors collect2: error: ld returned 1 exit status gmake: *** [sapi/cli/php] Error 1 Test script: --------------- whenever I try to compile PHP --with-openssl, i get the following error: Undefined first referenced symbol in file EC_KEY_get0_group ext/openssl/.libs/openssl.o EVP_PKEY_get1_EC_KEY ext/openssl/.libs/openssl.o EC_GROUP_get_curve_name ext/openssl/.libs/openssl.o EC_KEY_get0_private_key ext/openssl/.libs/openssl.o EC_KEY_free ext/openssl/.libs/xp_ssl.o EC_KEY_new_by_curve_name ext/openssl/.libs/xp_ssl.o PEM_write_bio_ECPrivateKey ext/openssl/.libs/openssl.o ld: fatal: symbol referencing errors collect2: error: ld returned 1 exit status gmake: *** [sapi/cli/php] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73996&edit=1

« previous php.bugs (#234950) next »