Re: configure bug with static openssl 1.1.1? - bugid 77288

From: Date: Tue, 22 Oct 2019 06:32:17 +0000
Subject: Re: configure bug with static openssl 1.1.1? - bugid 77288
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-107624@lists.php.net to get a copy of this message
Am 22.10.2019 um 05:28 schrieb Helmut K. C. Tessarek:
On 2019-10-14 07:01, Rainer Jung wrote:
Could you do yet another test? First manipulate the configure script with the following two commands: cp -p configure configure.saved # the following is one long line sed -e 's#PKG_CONFIG --libs openssl#PKG_CONFIG --libs --static openssl#g' configure.saved > configure and then redo the whole build including running configure. If that works fine, it might be possible to add a configure flag for static OpenSSL linking.
Sorry that it took so long. Nope, this didn't help either. here's the log: https://evermeet.cx/pub/logs/config.php72.1.log
I am sorry, error on my side. I forgot I had already adjusted configure myself, so the above sed wouldn't change anything in the original file (you can also diff the original and the new file to see the outcome of the sed command yourself). If you are willing for another round: # The next line only if configure.saved # no longer exists from the previous try cp -p configure configure.saved # The sed command here is three lines, # the first two of them continued by a # backslash at the end of line sed -e 's/\(LIBS=.*\)-lssl \(.*\)/\1 -lssl -lcrypto \2/' \
    -e 's/\(LIBS=.*-lssl  *-lcrypto\)\(.*\)/\1 `$PKG_CONFIG --libs --static openssl` \2/' \
    configure.saved > configure
If it doesn't work, then please again give us the config.log plus the "diff configure.saved configure". Regards, Rainer

« previous php.internals (#107624) next »