Quantcast
Channel: 看得透又看得远者prevail. ppt.cc/flUmLx ppt.cc/fqtgqx ppt.cc/fZsXUx ppt.cc/fhWnZx ppt.cc/fnrkVx ppt.cc/f2CBVx
Viewing all articles
Browse latest Browse all 20553

expected libTIFF.dylib in /usr/local/lib/问题的解决

$
0
0
在mac的终端中,clone一个repo时,遇错:expected libTIFF.dylib in /usr/local/lib/
意思是“在/usr/local/lib/里面,期待有libTIFF.dylib文件”,但事实上没有,于是在mac里先搜一下这个文件libTIFF.dylib:
sudo find / -name libTIFF.dylib
显示:
Password:

find: /dev/fd/lib: No such file or directory
find: /dev/fd/lib: No such file or directory
/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib

果然搜到了该文件,于是:
sudo cp /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib /usr/local/lib/即可。

参考https://gist.github.com/leonardoborges/2549670

Viewing all articles
Browse latest Browse all 20553

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>