Code Monkey home page Code Monkey logo

Comments (3)

remicollet avatar remicollet commented on May 17, 2024 1

Use the PHP-5.6-security-backports-openssl11 which works with all openssl version.

from php-src.

YumeMichi avatar YumeMichi commented on May 17, 2024

@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 avatar remicollet commented on May 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.