您现在的位置是:首页>数据库>Mysql与MariaDBMysql与MariaDB
Linking C static library ../../archive_output_directory/libz.a
刘海林2020-03-16【Mysql与MariaDB】2150人已围观
简介错误LinkingCstaticlibrary../../archive_output_directory/libz.a/usr/bin/ar:../../archive_ou
错误
Linking C static library ../../archive_output_directory/libz.a
/usr/bin/ar: ../../archive_output_directory/libz.a: No such file or directory
make[2]: *** [archive_output_directory/libz.a] Error 1
make[1]: *** [extra/zlib/CMakeFiles/zlib.dir/all] Error 2
make: *** [all] Error 2
提示此错误是由于GCC老版本导致的,需要卸载老版本gcc,并创建连接。
GCC环境变量配置参考 centos7 手动升级gcc到gcc-9.3.0教程(http://www.lhl.zone/Linux/34.html ) 中的 6、修改软链接与配置环境变量 修改环境变量即可解决
相关文章
- mysql版本之间的区别
- c++: error: unrecognized command line option ‘-std=c++14’
- storage/innobase/lock/lock0lock.cc: In function ‘void lock_mark_trx_for_rollback(hit_list_t&, trx_id_t, trx_t*)’:
- Linking C static library ../../archive_output_directory/libz.a
- CMake 3.5.1 or higher is required. You are running version 2.8.12.2
- buf0buf.cc:1221:44: error: ‘SYS_gettid’ was not declared in this scope
点击排行
- centos8 编译安装mysql 5.7 提示 Package ‘libtirpc‘, required by ‘virtual:world‘, not found 解决方法
- Linking C static library ../../archive_output_directory/libz.a
- buf0buf.cc:1221:44: error: ‘SYS_gettid’ was not declared in this scope
- mysql8.0编译安装 GCC 5.3 or newer is required (-dumpversion says 4.8.5)错误
- c++: error: unrecognized command line option ‘-std=c++14’
- mysql 8.0 主从(Master-Slave)配置教程
- centos8 编译安装mysql发生Could not find rpcgen错误处理方法
- MySQL命令行神器:mycli安装