symlink error: Operation not supported

在使用unzip命令解压.zip文件时遇到如下问题:

finishing deferred symbolic links:
******/test/ssl/capath/374b031c.0 -> server.pem
symlink error: Operation not supported
 ******/test/ssl/capath/ab88c291.0 -> test-root-ca.pem
symlink error: Operation not supported

原因:

使用VMware,在Windows设备的共享目录中解压和编译,无法创建链接,就会提示上面的错误。

解决办法:

把源码复制到Linux的本地目录中,比如/home等,在本地目录中解压或编译就不会有这个问题。或者使用Samba软件将Linux的目录共享到Windows下。

猜你喜欢

转载自blog.csdn.net/luotuo28/article/details/131400852