错误代码:
php-fpm报错:
0 1 |
[root@hz lib]# /usr/local/php/sbin/php-fpm /usr/local/php/sbin/php-fpm: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory |
bind报错:
0 1 |
[root@MASTER zones]# /usr/local/named/sbin/named -c /usr/local/named/etc/named.conf -u named /usr/local/named/sbin/named: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory |
解决方法:
0 1 2 3 |
32位: ln -s /usr/local/mysql/lib/libmysqlclient.so.18 /usr/lib/ 64位: ln -s /usr/local/mysql/lib/libmysqlclient.so.18 /usr/lib64/ |
申明:本站原创,转载请保留版权信息! SourceByrd's Weblog-https://note.t4x.org/error/error-while-loading-shared-libraries/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!