1. 程式人生 > >Linux 錯誤記錄

Linux 錯誤記錄

har find shared div color root config bsp ech

1、libmysqlclient.so.18: cannot open shared object file: No such file or directory

解決辦法:

[root@linux-node1 ~]#  find / -name libmysqlclient.so.18
/usr/local/mysql/lib/libmysqlclient.so.18

[root@linux-node1 ~]# echo "/usr/local/mysql/lib" >> /etc/ld.so.conf   #將/usr/local/mysql/lib加到/etc/ld.so.conf中

[root@linux
-node1 ~]# cat /etc/ld.so.conf #查看 include ld.so.conf.d/*.conf /usr/local/mysql/lib [root@linux-node1 ~]# ldconfig #生效命令

Linux 錯誤記錄