jyr / MNPP

Mac + Nginx + Percona + PHP a high performance web server in a one-click installer
http://getmnpp.org
314 stars 49 forks source link

OSX 10.8 Mountain Lion libfreetype problem #46

Closed mrded closed 12 years ago

mrded commented 12 years ago

MNPP uses own old libs: $ cat ~/.bash_profile | grep DYLD_LIBRARY_PATH export DYLD_LIBRARY_PATH=/Applications/MNPP/init:/Applications/MNPP/Library/lib

It conflicts with an already used libraries from XQuartz 2.7.2 Dyld Error Message: Library not loaded: /opt/X11//libfreetype.6.dylib Referenced from: /opt/X11//libXfont.1.dylib Reason: Incompatible library version: libXfont.1.dylib requires version 15.0.0 or later, but libfreetype.6.dylib provides version 14.0.0

Same problem with 10.7 is here.

Solution is same: sudo cp /usr/X11/lib/libfreetype.* /Applications/MNPP/Library/lib/

My fork here.

mrded commented 12 years ago

I think, we can remove xpm, because it depends of X11.

jyr commented 12 years ago

I need install mountain lion for testing, I will try to get other laptop to install it. But, you know compile maybe could help me with this issue.

https://github.com/jyr/MNPP/blob/master/COMPILE.md

mrded commented 12 years ago

It was a problem with libfreetype. I've copied it from XQuartz 2.7.2

Please, check my changes.

jyr commented 12 years ago

This is a tipical error, happens when release they each new osx version. The libs dylib are broken, but, to fix it I need to test it in snow leopard, lion and mountain lion is complicated. I will think in found a solution for this.

Thanks for your changes.

mrded commented 12 years ago

No worries, I can wait and in the meanwhile work with my version of MNPP ;) Thanks!

mrded commented 12 years ago

Is same Pull Requests https://github.com/jyr/MNPP/pull/47