Comments (3)
Use the PHP-5.6-security-backports-openssl11 which works with all openssl version.
from php-src.
@remicollet Can you check this? I'm on CentOS 7, OpenSSL 1.0.2k-fips
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_is_private_key':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3522: undefined reference to `EVP_PKEY_get0_DSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3526: undefined reference to `DSA_get0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3530: undefined reference to `DSA_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3560: undefined reference to `EVP_PKEY_get0_EC_KEY'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3503: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3507: undefined reference to `RSA_get0_factors'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3541: undefined reference to `EVP_PKEY_get0_DH'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3545: undefined reference to `DH_get0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3549: undefined reference to `DH_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkey_get_details':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4060: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4137: undefined reference to `EVP_PKEY_get0_EC_KEY'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4091: undefined reference to `EVP_PKEY_get0_DSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4098: undefined reference to `DSA_get0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4099: undefined reference to `DSA_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4114: undefined reference to `EVP_PKEY_get0_DH'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4121: undefined reference to `DH_get0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4122: undefined reference to `DH_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4067: undefined reference to `RSA_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4068: undefined reference to `RSA_get0_factors'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4069: undefined reference to `RSA_get0_crt_params'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_private_encrypt':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4700: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_private_decrypt':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4758: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_public_encrypt':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4823: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_public_decrypt':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4882: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_dh_compute_key':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:5612: undefined reference to `EVP_PKEY_get0_DH'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_pkey_init_and_assign_rsa':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3607: undefined reference to `RSA_set0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3613: undefined reference to `RSA_set0_factors'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3620: undefined reference to `RSA_set0_crt_params'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_pkey_init_dsa':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3640: undefined reference to `DSA_set0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3647: undefined reference to `DSA_set0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3658: undefined reference to `DSA_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_pkey_init_dh':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3712: undefined reference to `DH_set0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3726: undefined reference to `DH_set0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3719: undefined reference to `DH_set0_key'
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_is_private_key':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3522: undefined reference to `EVP_PKEY_get0_DSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3526: undefined reference to `DSA_get0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3530: undefined reference to `DSA_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3560: undefined reference to `EVP_PKEY_get0_EC_KEY'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3503: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3507: undefined reference to `RSA_get0_factors'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3541: undefined reference to `EVP_PKEY_get0_DH'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3545: undefined reference to `DH_get0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3549: undefined reference to `DH_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkey_get_details':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4060: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4137: undefined reference to `EVP_PKEY_get0_EC_KEY'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4091: undefined reference to `EVP_PKEY_get0_DSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4098: undefined reference to `DSA_get0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4099: undefined reference to `DSA_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4114: undefined reference to `EVP_PKEY_get0_DH'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4121: undefined reference to `DH_get0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4122: undefined reference to `DH_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4067: undefined reference to `RSA_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4068: undefined reference to `RSA_get0_factors'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4069: undefined reference to `RSA_get0_crt_params'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_private_encrypt':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4700: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_private_decrypt':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4758: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_public_encrypt':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4823: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_public_decrypt':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:4882: undefined reference to `EVP_PKEY_get0_RSA'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_dh_compute_key':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:5612: undefined reference to `EVP_PKEY_get0_DH'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_pkey_init_and_assign_rsa':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3607: undefined reference to `RSA_set0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3613: undefined reference to `RSA_set0_factors'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3620: undefined reference to `RSA_set0_crt_params'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_pkey_init_dsa':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3640: undefined reference to `DSA_set0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3647: undefined reference to `DSA_set0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3658: undefined reference to `DSA_get0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_pkey_init_dh':
/root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3712: undefined reference to `DH_set0_pqg'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3726: undefined reference to `DH_set0_key'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /root/phpdir/php-src-PHP-5.6-security-backports-openssl11/ext/openssl/openssl.c:3719: undefined reference to `DH_set0_key'
collect2: error: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1
from php-src.
@remicollet Can you check this? I'm on CentOS 7, OpenSSL 1.0.2k-fips
Why not simply used existing RPMs....
https://rpms.remirepo.net/wizard/
from php-src.
Related Issues (12)
- Rationale? HOT 1
- PHP 5.6 support duration in Azure HOT 1
- Custom PHP extensions no longer load HOT 1
- Docker-Images? HOT 1
- Q: does this include all the fixes from the Debian-8 package of php 5.6.40 ? HOT 2
- Bug 72333 HOT 1
- Support for openssl-1.1.1? HOT 3
- Test fixes for Windows QA on PHP 5.6 HOT 8
- Test fixes for Windows QA on PHP 7.0 HOT 2
- PHP 7 Vulnerability Disclosure (2019-087) HOT 5
- Support for PHP 7.1? (The offical support is ending on 1 Dec 2019) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-src.