cc1: error while loading shared libraries: libmpc.

问题:cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
解决:export LD_LIBRARY_PATH=“/usr/local/lib”

     ln -s /pathto/libmpc.so.2 /usr/local/lib
     sudo ldconfig

你可能感兴趣的:(cc1,libmpc.so.2)