- 积分
- 17
- 威望
-
- 金钱
-
- 注册时间
- 2017-1-25
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
lnmp1.3 默认的nginx是1.10.0 用upgrade.sh升级nginx 1.10.2 升级不上去
Centos 6.8 安装完环境后 编译升级一次过openssl为OpenSSL 1.0.2j
以下为日志 请军哥帮我一下 谢谢
Current Nginx Version:1.10.0
You can get version number from http://nginx.org/en/download.html
Please enter nginx version you want, (example: 1.7.8): +---------------------------------------------------------+
| You will upgrade nginx version to 1.10.2
+---------------------------------------------------------+
[0;32mPress any key to start...or Press Ctrl+c to cancel[0m
============================check files==================================
Notice: nginx-1.10.2.tar.gz not found!!!download now......
--2017-01-25 12:14:33-- http://nginx.org/download/nginx-1.10.2.tar.gz
Resolving nginx.org... 95.211.80.227, 206.251.255.63, 2606:7100:1:69::3f, ...
Connecting to nginx.org|95.211.80.227|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 910812 (889K) [application/octet-stream]
Saving to: “nginx-1.10.2.tar.gz”
0% [ ] 0 --.-K/s
1% [ ] 17,094 65.1K/s
4% [> ] 43,158 82.1K/s
9% [==> ] 82,254 104K/s
16% [=====> ] 145,966 139K/s
23% [========> ] 212,574 162K/s
34% [============> ] 311,038 197K/s
49% [==================> ] 451,870 245K/s
70% [==========================> ] 638,662 303K/s
98% [=====================================> ] 900,806 380K/s
100%[======================================>] 910,812 384K/s in 2.3s
2017-01-25 12:14:38 (384 KB/s) - “nginx-1.10.2.tar.gz” saved [910812/910812]
Download nginx-1.10.2.tar.gz successfully!
============================check files==================================
Uncompress nginx-1.10.2.tar.gz...
cd nginx-1.10.2...
checking for OS
+ Linux 2.6.32-642.13.1.el6.x86_64 x86_64
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC)
checking for gcc -pipe switch ... found
checking for -Wl,-E switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
编译细节.....()
objs/ngx_modules.o \
-ldl -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lz \
-Wl,-E
objs/src/event/ngx_event_openssl.o: In function `ngx_ssl_check_host':
/root/lnmp1.3-full/src/nginx-1.10.2/src/event/ngx_event_openssl.c:2997: undefined reference to `X509_check_host'
objs/src/http/ngx_http_request.o: In function `ngx_http_ssl_handshake_handler':
/root/lnmp1.3-full/src/nginx-1.10.2/src/http/ngx_http_request.c:780: undefined reference to `SSL_get0_alpn_selected'
objs/src/http/modules/ngx_http_ssl_module.o: In function `ngx_http_ssl_merge_srv_conf':
/root/lnmp1.3-full/src/nginx-1.10.2/src/http/modules/ngx_http_ssl_module.c:653: undefined reference to `SSL_CTX_set_alpn_select_cb'
collect2: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/root/lnmp1.3-full/src/nginx-1.10.2'
make: *** [build] Error 2
cp: cannot stat `objs/nginx': No such file or directory
Test nginx configure file...
include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory
upgrade...
/usr/local/nginx/sbin/nginx -t
make: /usr/local/nginx/sbin/nginx: Command not found
make: *** [upgrade] Error 127
[0;32m======== upgrade nginx completed ======[0m
Program will display Nginx Version......
include/upgrade_nginx.sh: line 65: /usr/local/nginx/sbin/nginx: No such file or directory
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|