Mac打不开Wireshark dyld: Library not loaded: /usr/X11/lib/libcairo.2.dylib

Q1:Mac OS Mountain Lion默认是没有安装X11的,而wireshark运行需要x11,因此如果直接安装wireshark而没有安装x11,wireshark不会正常运行。

A1:去苹果主页下载最新版本的xQuartz,然后运行wireshark,会弹出一个选择x11的界面,选择/Application/Utilities目录下的xQuartz程序,点击确定,

然后X11会运行,弹出一个xterm窗口,在其中运行/Application/Wireshark.app/Contents/MacOS/Wireshark,就会执行一系列初始化,然后打开wireshark.

Q2:dyld: Library not loaded: /usr/X11/lib/libcairo.2.dylib

A2:sudo ln -s /opt/X11 /usr/X11

时间: 2024-11-05 11:35:32

Mac打不开Wireshark dyld: Library not loaded: /usr/X11/lib/libcairo.2.dylib的相关文章

Mac和Linux报错: dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib的解决办法

在mac系统下,执行谷歌机器学习框架 Tesseract时,报错: dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib 原因是在/usr/local/opt/jpeg/lib/路径下找不到 libjpeg.8.dylib文件. 解决方法: 以下命令按顺序在终端进行执行: 1:   wget -c http://www.ijg.org/files/jpegsrc.v8d.tar.gz2:   tar xzf jpegs

dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib

问题描述: 本地想看下php的版本 执行php -v ,出现如下错误: dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib Referenced from: /usr/local/bin/php Reason: image not found 网上找了各种办法: 用install_name_tool的方式,动态修改依赖的版本,提示can't open input file: /usr/local/b

dyld: Library not loaded: /usr/lib/libstdc++.6.dylib

open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/ open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pl

Xcode 7 中 CocoaPods 编译报错 dyld: Library not loaded: @rpath/Pods.framework/Pods

问题症状与解决 在 Xcode 7 beta 3 (7A152u) 中创建 Swift 项目,并使用 CocoaPods 做依赖管理,编译时会遇到如下的报错: dyld: Library not loaded: @rpath/Pods.framework/Pods Referenced from: /private/var/mobile/Containers/Bundle/Application/26B91138-7483-40B0-9BE6-D27072472895/AppName.app/A

dyld: Library not loaded...

Libraries and frameworks are designated as Required by default, but you can change this designation to Optional. Required libraries must be present on the host computer for the product to load. Optional libraries do not have to be present for the pro

dyld: Library not loaded问题解决

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000 } span.s1 { } dyld: Library not loaded: @rpath/Ono.framework/Ono   Referenced from: /Users/xiaomanwang/Library/Developer/CoreSimulator/Devices/2E413916-E22B-462C-B19B-F4713B2B

[iOS Xcode8报错]dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserN

[iOS Xcode8报错]dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserN 升级了Xcode8,但是我的真机是iOS7系统,在我解决了Xcode8不支持iOS7系统以后(http://blog.csdn.net/iOSTianNan/article/details/52619319),真机调试出现如下报错 dyld: Library not loaded: /System

ios dyld: Library not loaded: @rpath/xxx.framework/xxx 之根本原因

碰到问题 dyld: Library not loaded: @rpath/xxx.framework/xxx Referenced from: /var/containers/Bundle/Application/0F41980D-5091-449D-AE29-5D018E3EB554/DemoOC.app/DemoOC Reason: image not found enable Always Embed Swift Standard Libraries option under Build

iOS dyld: Library not loaded crash问题

今天在引入第三方framework时,我按照以前的方法,把framework加入到了下图的地方: 默认是required的,之后程序就crash了,报错dyld: Library not loaded,之后我把required 改成了optional,这次不crash了,但是运行时出错,库中的对象无法实例化,全部是空. 我是根据http://stackoverflow.com/questions/24333981/ios-app-with-framework-crashed-on-device-