cd ../openssl-1.0.2j \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/oneinstack/src/nginx-1.11.10/../openssl-1.0.2j/.openssl no-shared \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: line 0: cd: ../openssl-1.0.2j: No such file or directory
make[1]: *** [../openssl-1.0.2j/.openssl/include/openssl/ssl.h] Error 1
make[1]: Leaving directory `/root/oneinstack/src/nginx-1.11.10'
make: *** [build] Error 2
Upgrade Nginx failed!
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/oneinstack/src/nginx-1.11.10/../openssl-1.0.2j/.openssl no-shared \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: line 0: cd: ../openssl-1.0.2j: No such file or directory
make[1]: *** [../openssl-1.0.2j/.openssl/include/openssl/ssl.h] Error 1
make[1]: Leaving directory `/root/oneinstack/src/nginx-1.11.10'
make: *** [build] Error 2
Upgrade Nginx failed!
3 Answers
下载并解压openssl,再执行升级试试
cd oneinstack/src
wget http://mirrors.linuxeye.com/oneinstack/src/openssl-1.0.2j.tar.gz
tar xzf openssl-1.0.2j
[root@iZj6ciktto6unmmgws4nsrZ src]# tar xzf openssl-1.0.2j
tar (child): openssl-1.0.2j: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): openssl-1.0.2j: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Please login or Register to submit your answer