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.gz
2:   tar xzf jpegsrc.v8d.tar.gz
3: cd jpeg-8d
4:     ./configure
5:     make
6:     cp ./.libs/libjpeg.8.dylib /usr/local/opt/jpeg/lib

原文地址:https://www.cnblogs.com/malcolmfeng/p/8267365.html

时间: 2024-10-07 04:42:00

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

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

[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

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/Conten

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

IOS运行报错 "dyld: Library not loaded" 原因分析

我们的游戏IOS版在接入易接SDK后,启动出现如下错误 dyld: Library not loaded: @rpath/OnlineAHelper.framework/OnlineAHelper Referenced from: /var/mobile/Containers/Bundle/Application/35ED2A71-7F60-4A16-BA4C-ECD6493A1EE1/yzg.app/yzg Reason: no suitable image found. Did find:

MAC 安装psycopg2报错ld: library not found for -lssl

pip3 install psycopg2 报错:ld: library not found for -lssl 解决参考:https://github.com/PyMySQL/mysqlclient-python/issues/169 安装前定义这两个环境变量就好了 export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include" 原文地

关于子线程使用Toast报错Can't create handler inside thread that has not called Looper.prepare()的解决办法

形同如下代码,在Thread中调用Toast显示错误信息: new Thread(new Runnable(){ @Override public void run() { try{ weatherData = getWeatherData(strUrl); parseJson(weatherData); }catch(Exception e){ Toast.makeText(WindowApplication.getAppContext(), e.toString(), Toast.LENGT

windows下编译caffe报错:error MSB4062: 未能从程序集 E:\NugetPackages\OpenCV.2.4.10\......的解决办法

参考博客:http://blog.csdn.net/u013277656/article/details/75040459 在windows上编译caffe时,用vs打开后会自动加载还原NugetPackages文件夹,里面是caffe需要依赖的各种库. 费了很长时间还原完成编译时,出现错误:error MSB4062: 未能从程序集 E:\NugetPackages\OpenCV.2.4.10\build\native\private\coapp.NuGetNativeMSBuildTasks

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