酿造链接jpeg问题 [英] brew link jpeg issues

查看:101
本文介绍了酿造链接jpeg问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Mac OSX Lion上安装opencv.

I am trying to install opencv on Mac OSX Lion.

brew install opencv

我收到以下错误(以及其他一些类似的错误)

I get the following error (and a few other similar ones)

Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link jpeg'

当我这样做

brew link jpeg
Linking /usr/local/Cellar/jpeg/8d... ln: wrjpgcom: File exists

我不明白这是什么意思?我该怎么办?谢谢

I do not understand what this means? What should I be doing? Thanks

推荐答案

检查/usr/local文件夹中的以下文件:

Check for the following files in the /usr/local folder:

bin/cjpeg
bin/djpeg
bin/jpegtran
bin/rdjpgcom
bin/wrjpgcom
include/jconfig.h
include/jerror.h
include/jmorecfg.h
include/jpeglib.h
lib/libjpeg.8.dylib
lib/libjpeg.a
share/man/man1/cjpeg.1
share/man/man1/djpeg.1
share/man/man1/jpegtran.1
share/man/man1/rdjpgcom.1
share/man/man1/wrjpgcom.1

要使brew link jpeg成功:

  1. 删除(和备份)任何上述文件
  2. 再次启动brew link jpeg.

这篇关于酿造链接jpeg问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆