【CentOS】CentOS7 报错处理集合

1、ImportErrorImportErrorImportError: : : No module named urlgrabber.grabberNo module named urlgrabber.grabberNo module named urlgrabber.grabber
$vi /usr/libexec/urlgrabber-ext-down

把头部的python改成和/usr/bin/yum中一样的

 
2、error while loading shared libraries
$ echo "/usr/local/lib" >> /etc/ld.so.conf
$ ldconfig

   

3、libmysqlclient.so.18: cannot open shared object file: No such file or directory
$ find / -name libmysqlclient.so*
$ ln -s  /datas/soft/mariadb/lib/libmysqlclient.so.18 /usr/lib/libmysqlclient.so.18
$ ldconfig

  

 
 
 

posted @ 2020-08-27 11:22  蓝色星辰1993  阅读(377)  评论(0编辑  收藏  举报