Skip to content Skip to sidebar Skip to footer

Python Linking Problem While Running Django On Apache With Mod_wsgi: Symbol Not Found __cg_jpeg_resync_to_restart

I get this error when I try to run my django site on apache. The site works on the development server: ViewDoesNotExist at / Could not import myproject.modulename.views. Error wa

Solution 1:

Well it seems that a symlink is broken, so i looked and i found something in this forum

delete the symlinks "libpng.dylib" and "libjpeg.dylib" in "<installation directory>/lib"

Create new symlinks to the right libs.

ln -s /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPNG.dylib /Applications/MAMP/Library/lib/libPNG.dylib

ln -s /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib /Applications/MAMP/Library/lib/libJPEG.dylib

I have no Mac rigth here, but first i would verify that the origin of the symlink exist, i hope this will solve your problem.

Solution 2:

Don't you miss the + or - sign in your options statement? Example of statement: Options -Indexes +FollowSymLinks

Post a Comment for "Python Linking Problem While Running Django On Apache With Mod_wsgi: Symbol Not Found __cg_jpeg_resync_to_restart"