Bug #76126 [Fbk->NoF]: Make Fails after adding openssl to configuration
| From: | php-bugs at lists dot php dot net | Date: | Sun, 21 Feb 2021 04:22:19 +0000 |
| Subject: | Bug #76126 [Fbk->NoF]: Make Fails after adding openssl to configuration | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-232301@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76126&edit=1
ID: 76126
Updated by: php-bugs@lists.php.net
Reported by: jay dot a dot carlson at gmail dot com
Summary: Make Fails after adding openssl to configuration
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: Red Hat 7.3
PHP Version: 7.2.3
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-02-12 15:10:20] 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>
------------------------------------------------------------------------
[2018-03-21 13:51:47] jay dot a dot carlson at gmail dot com
Note:
Using a c++ program to install LAMP plus many languages at
https://github.com/JayACarlsonAtHome/j5c_install_from_source_001
Installing
php 7.2.3, openssl 1.1.0g, and xdebug 2.6.0 has been pushed to dev-work branch.
------------------------------------------------------------------------
[2018-03-21 12:38:29] jay dot a dot carlson at gmail dot com
Description:
------------
Using a c++ program to install LAMP plus many languages at
https://github.com/JayACarlsonAtHome/j5c_install_from_source_001
1. Installing php 7.2.2 without openssl worked just fine.
2. Installing php 7.2.3 without openssl worked just fine.
3. Installing php 7.2.3 with openssl 1.1.0g works.
4. Installing php 7.2.3 with openssl 1.0.2n breaks on make.
Note: Installing openssl hasn't been pushed to my git project yet
because it is not working, but I will push it to the dev-work branch
shortly so that you can use it if you want to see the results that way.
It takes a long time to build all the programs from source, but you can
mark skip = true in the config file to ignore other programs.
Test script:
---------------
cd ..../php-7.2.3/
./configure --prefix=/wd3/j5c/p002/usr/php/ \
--exec-prefix=/wd3/j5c/p002/usr/php/ \
--srcdir=/wd3/j5c/p002/src/php/php-7.2.3/ \
--with-openssl=/wd3/j5c/p002/usr/openssl \
--with-apxs2=/wd3/j5c/p002/usr/apache/bin/apxs \
--enable-mysqlnd \
--with-pdo-mysql=/wd3/j5c/p002/usr/mariadb/ \
--with-pcre-regex=/wd3/j5c/p002/usr/pcre/ \
--with-config-file-path=/wd3/j5c/p002/usr/php/lib/ \
--with-config-file-scan-dir=/wd3/j5c/p002/etc/php/ \
--with-curl=/usr/bin \
--with-mysql-sock=/wd3/j5c/p002/usr/mariadb/run/mariadb.socket \
--enable-embedded-mysqli \
--disable-cgi --disable-short-tags --enable-bcmath \
--with-pcre-jit --enable-sigchild --enable-libgcc \
--enable-calendar --enable-dba=shared --enable-ftp \
--enable-intl --enable-mbstring --enable-zip \
--enable-zend-test
make clean
make --> fails
Expected result:
----------------
Installing php 7.2.3 with openssl works with the latest version of openssl.
Actual result:
--------------
make results ....(chopped off) ...
lstdc++ -lcrypto -lssl -lcrypto -lpcre -lcrypto -lssl -lcrypto -lrt -lm -ldl -lnsl -lpthread -lgcc
-lxml2 -lz -lm -ldl -lcurl -lxml2 -lz -lm -ldl -ldl -lm -licui18n -licuuc -licudata -ldl -lm -licuio
-lmariadb -ldl -lm -lgnutls -lxml2 -lz -lm -ldl -lcrypt -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl
-lxml2 -lz -lm -ldl -lcrypt -o libphp7.la
/bin/ld: /wd3/j5c/p002/usr/openssl/lib/libcrypto.a(cryptlib.o): relocation R_X86_64_32 against
`.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/wd3/j5c/p002/usr/openssl/lib/libcrypto.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [libphp7.la] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76126&edit=1