- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2022-6-9 16:48:05
|
显示全部楼层
Cannot find appropriate system libraries for WITH_SSL=system.
Make sure you have specified a supported SSL version.
Valid options are :
system (use the OS openssl library),
yes (synonym for system),
</path/to/custom/openssl/installation>
CMake Error at cmake/ssl.cmake:66 (MESSAGE):
Please install the appropriate openssl developer package.
Call Stack (most recent call first):
cmake/ssl.cmake:260 (FATAL_SSL_NOT_FOUND_ERROR)
CMakeLists.txt:483 (MYSQL_CHECK_SSL)
。。。。。。
/bin/bash /root/lnmp1.9/src/php-7.2.34/libtool --silent --preserve-dup-deps --mode=compile /root/lnmp1.9/src/php-7.2.34/meta_ccld -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/intl/ -I/root/lnmp1.9/src/php-7.2.34/ext/intl/ -DPHP_ATOM_INC -I/root/lnmp1.9/src/php-7.2.34/include -I/root/lnmp1.9/src/php-7.2.34/main -I/root/lnmp1.9/src/php-7.2.34 -I/root/lnmp1.9/src/php-7.2.34/ext/date/lib -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/libpng16 -I/usr/local/freetype/include/freetype2 -I/root/lnmp1.9/src/php-7.2.34/ext/mbstring/oniguruma -I/root/lnmp1.9/src/php-7.2.34/ext/mbstring/libmbfl -I/root/lnmp1.9/src/php-7.2.34/ext/mbstring/libmbfl/mbfl -I/root/lnmp1.9/src/php-7.2.34/ext/sqlite3/libsqlite -I/root/lnmp1.9/src/php-7.2.34/ext/zip/lib -I/root/lnmp1.9/src/php-7.2.34/TSRM -I/root/lnmp1.9/src/php-7.2.34/Zend -D_REENTRANT -I/usr/local/include -g -O2 -fvisibility=hidden -pthread -DZTS -DZEND_SIGNALS -c /root/lnmp1.9/src/php-7.2.34/ext/intl/collator/collator_sort.c -o ext/intl/collator/collator_sort.lo
/root/lnmp1.9/src/php-7.2.34/ext/intl/collator/collator_sort.c: In function ‘zif_collator_sort’:
/root/lnmp1.9/src/php-7.2.34/ext/intl/collator/collator_sort.c:349:33: error: ‘TRUE’ undeclared (first use in this function)
349 | collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
| ^~~~
/root/lnmp1.9/src/php-7.2.34/ext/intl/collator/collator_sort.c:349:33: note: each undeclared identifier is reported only once for each function it appears in
/root/lnmp1.9/src/php-7.2.34/ext/intl/collator/collator_sort.c: In function ‘zif_collator_asort’:
/root/lnmp1.9/src/php-7.2.34/ext/intl/collator/collator_sort.c:543:33: error: ‘FALSE’ undeclared (first use in this function)
543 | collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
| ^~~~~
make: *** [Makefile:993: ext/intl/collator/collator_sort.lo] Error 1
如果要用Ubuntu 22.04就不要安装PHP 7.4以下版本、MySQL就不要低于8.0
也就是说了很多遍的新不装旧,就不装新
非要想用就一个办法php、mysql改一遍支持openssl 3.0,icu支持68.1+等等 |
|