centos共享文件夹下编译libzip-1.6.1,导致cmake error: cmake_symlink_library: system error: operation not support

背景
在centos下编译libzip-1.6.1,源码包在windows的共享文件夹下,导致cmake error: cmake_symlink_library: system error: operation not supported。需要将源码包放在虚拟机本地目录方可编译成功
下载
官网下载所需版本的libzip源码包,网址 https://libzip.org/download/
解压
终端输入
tar -zxvf libzip-1.5.1.tar.gz -C /home/cl
进入解压后的目录
cd libzip-1.5.1
编译
创建build目录
mkdir build
进入build
cd build
cmake …
make
make install

猜你喜欢

转载自blog.csdn.net/DustDawn/article/details/111992873