Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MAMP : dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library

Tags:

mamp

cacti

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.

like image 921
user3810064 Avatar asked Jul 06 '14 17:07

user3810064


3 Answers

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

like image 96
gerve Avatar answered Sep 24 '22 06:09

gerve


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.

like image 41
Wilianto Indrawan Avatar answered Sep 25 '22 06:09

Wilianto Indrawan


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?

like image 28
T.Liu Avatar answered Sep 25 '22 06:09

T.Liu