解决启动postfix报错找不到libmysqlclient.so.18文件

一. 问题背景

在看java教程手把手教你Jenkins从环境配置到项目开发,跟着视频安装gitlab,但是在启动postfix报错了。

参考自:安装postfix过程中报错找不到libmysqlclient.so.18文件

二. 安装postfix并启动

  • 下载libmysqlclient.so.18文件:http://files.directadmin.com/services/es_7.0_64/libmysqlclient.so.18

  • 把该文件上传到Linux的/usr/lib/

  • 最后执行如下:

# 卸载postfix
service postfix stop
yum -y remove postfix

# 安装postfix
yum install postfix

# 设置自启动并启动postfix
systemctl enable postfix
systemctl start postfix

猜你喜欢

转载自blog.csdn.net/qq_40634846/article/details/112680841