Getting libjpeg/libTIFF.dylib error after recompiling php in OS X 10.6.3 Server

Posted by leggo-my-eggo on Stack Overflow See other posts from Stack Overflow or by leggo-my-eggo
Published on 2010-04-13T17:30:28Z Indexed on 2010/04/13 17:33 UTC
Read the original article Hit count: 446

Filed under:
|
|
|
|

I've recompiled php 5.3.0 under OS X Server (10.6.3) in order to gain Freetype support in GD. As part of the process, I recompiled libjpeg-8a (and before that I tried libjpeg-7).

But when I run apachectcl configtest, I get the following error:

httpd: Syntax error on line 155 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_auth_user_host_apple.so into server: dlopen(/usr/libexec/apache2/mod_auth_user_host_apple.so, 10): Symbol not found: __cg_jpeg_resync_to_restart\n  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib\n  Expected in: /usr/lib/libJPEG.dylib\n in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib

I don't really understand the error. Is there anyone who could help me figure out how to fix it? In php the gd library now seems unaware of libjpeg support.

© Stack Overflow or respective owner

Related posts about osx

Related posts about macosx