dyld: Symbol not found: __cg_jpeg_resync_to_restart

后端 未结 4 909
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-02 00:32

I\'m trying to run a java version of PowerLoom, but when I try to start it in the terminal, I get the following error message:

dyld: Symbol not found: __cg_jpeg_         


        
4条回答
  •  抹茶落季
    2021-02-02 00:55

    You could try this in shell:

    $ cd /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources
    
    $ sudo ln -sf libJPEG.dylib /usr/local/lib/libJPEG.dylib
    
    $ sudo ln -sf libPng.dylib /usr/local/lib/libPng.dylib
    
    $ sudo ln -sf libTIFF.dylib /usr/local/lib/libTIFF.dylib
    
    $ sudo ln -sf libGIF.dylib /usr/local/lib/libGIF.dylib
    

提交回复
热议问题