Bug #73996 [NEW]: gmake: *** [sapi/cli/php] Error 1
| From: | bercomic at gmail dot com | Date: | Wed, 25 Jan 2017 16:14:14 +0000 |
| Subject: | Bug #73996 [NEW]: gmake: *** [sapi/cli/php] Error 1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-206950@lists.php.net to get a copy of this message | ||
From: bercomic at gmail dot com
Operating system: Solaris 11.3
PHP version: 7.1.1
Package: Compile Failure
Bug Type: Bug
Bug description:gmake: *** [sapi/cli/php] Error 1
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 bug report at https://bugs.php.net/bug.php?id=73996&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73996&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73996&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73996&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73996&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73996&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73996&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73996&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73996&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73996&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73996&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73996&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73996&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73996&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73996&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73996&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73996&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73996&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73996&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73996&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73996&r=mysqlcfg