PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, February 15, 2022

[FIXED] Where can I get version 16.0.0 of libfreetype.6.dylib for ImageMagick on MAMP

 February 15, 2022     imagemagick, mamp     No comments   

Issue

When running imagemagick under MAMP I get the error message:

command output :"dyld: Library not loaded: /opt/local/lib/libfreetype.6.dylib
Referenced from: /Applications/MAMP/bin/ImageMagick/ImageMagick-6.7.9/bin/convert
Reason: Incompatible library version: convert requires version 16.0.0 or later, but libfreetype.6.dylib provides version 15.0.0"

I have searched everywhere I can think of but can't find a solution to this. One posting I saw suggested commenting out the DYLD_LIBRARY_PATH in envvars but this did not make any difference.


Solution

Figured it out. I ran:

$ locate libfreetype.6.dylib

and discovered that there are multiple version of that dylib including a version in /opt/local/lib where macports installs imagemagick. I copied that version to the location in MAMP where it was installed and it solved the issue.

$ cp /opt/local/lib/libfreetype.6.dylib /Applications/MAMP/Library/lib/

Make sure you make a backup of the MAMP version before copying over it just in case something goes wrong.



Answered By - Jim S.
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing