dyld: Symbol not found: __cg_jpeg_resync_to_restart

后端 未结 4 918
佛祖请我去吃肉
佛祖请我去吃肉 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 01:08

    This issue may be down to the application in question dynamically linking to the wrong version of the [libJPEG.dylib] library (it's also possible the correct version has been overwritten/modified). As explained in another question it is a problem that can occur when an application alters environment variables that control dynamic linking library location (e.g. On MacOS: DYLD_LIBRARY_PATH - more info see man dyld; On Linux: LD_LIBRARY_PATH - see man ld.so). It may be down to other factors such as dynamic link library config files but they have a system wide affect. You'll need to locate the variable setup in the application files and change it so that it prioritises the system paths e.g. (for MacOS):

    export DYLD_LIBRARY_PATH=/usr/lib/:ADDITION_LIBRARY_PATH_LOCATION
    

提交回复
热议问题