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

3

12

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.

Am answered 6/7, 2014 at 17:43 Comment(0)
F
30

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

Freeloader answered 1/12, 2015 at 17:1 Comment(1)
This one worked for me, don't know if it worked by itself though, I did what was mentioned in @Wilianto's response first, but then got the same error as ruffin.Wherefrom
P
9

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.

Pantograph answered 24/2, 2015 at 5:32 Comment(1)
Then I get Symbol not found: __cg_TIFFClientOpen. Seems something is broken in the MAMP install.Normative
H
2

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?

Habergeon answered 23/7, 2014 at 19:58 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.