MAMP : dyld: Symbol not found: __cg_jpeg_resync_to

2019-01-18 23:04发布

I'm trying to run cacti on my Mac running OS X 10.9.3. I'm using MAMP 3.0.5.

In the cacti control panel, I've got the following error message :

dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /Applications/MAMP/Library/lib/libJPEG.dylib in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO.

标签: mamp cacti
3条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-01-18 23:37

I think it is MAMP but not cacti cause the problem

Here is a simple way to solve the problem. Just comment out several lines in the /Applications/MAMP/Library/bin/envvars file. Here is the Link.

The original question is : ffmpeg MAMP “dyld: Library not loaded” error

This question has even detailed answers about reasons of the error. But I think the solution above works effectively.

Conflict between dynamic linking priority in OSX?

查看更多
爷、活的狠高调
3楼-- · 2019-01-18 23:44

You can try this one, it works for me.

cd /Applications/MAMP/Library/lib 
rm libjpeg.dylib  ln -s
/System/Library/Frameworks/ImageIO.framework/Resources/libJPEG.dylib libJPEG.dylib

Reference: You can see more in this article.

查看更多
冷血范
4楼-- · 2019-01-18 23:49

You need to go on /Applications/MAMP/Library/bin and rename envvars to _envvars and apache will start !

查看更多
登录 后发表回答