TyStreamer

Streaming TiVo programs over limited bandwidth networks on-the-fly in real-time

faq

Q: I'm on a Mac and I get this wierd error about libJPEG.dylib in my log file. What can I do?
A: Apparently, Mac OS X has a lot of trouble keeping track of different versions of libjpeg.dylib and other common libs. For example, I use MAMP as my web server, and TyStreamer gave me the following error:

dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /Applications/MAMP/Library/lib/libJPEG.dylib
		

This was conflicting with Mac OS X's internal libJPEG.dylib. The solution was to replace MAMP's dylib with Apple's:

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

BE CAREFUL WHEN REPLACING LIBRARY FILES!!! Replacing, removing, or copying over system files can have a seriously adverse affect on your computer! Make sure to create a backup of any files you replace in case something goes horribly wrong, and if you're not comfortable doing it, DON'T! I take no responsibility if this fix turns your Mac into a toaster, or worse.

But if you think it will help, what the hell! ;)
Reference: http://www.nabble.com/dyld:-Symbol-not-found:-__cg_jpeg_resync_to_restart-t3562461.html