作者:吴怡瑜故事_398 | 来源:互联网 | 2023-05-18 03:41
Postfixmake编译正常,makeinstall的时候,出现错误:binpostconf:errorwhileloadingsharedlibraries:libm
Postfix make编译正常, make install的时候, 出现错误:
bin/postconf: error while loading shared libraries:libmysqlclient.so.18: cannot open shared object file: No such file or directory
… …
解决方案:
1.先确认/usr/local/mysql/lib/下是否有libmysqlclient.so.18这个文件.
# ls /usr/local/mysql/lib/ |grep libmysqlclient.so.18
2.修改ld.so.conf文件
# echo "/usr/local/mysql/lib" >> /etc/ld.so.conf
3.执行ldconfig使其生效.
原文地址: http://www.111cn.net/sys/linux/60548.htm