centos7 安装vsftpd+pam_mysql+mariadb出现错误

configure: error: Cannot locate mysql client library. Please check your mysql installation.

安装开发环境及所需要程序

# yum install -y pam-devel mariadb-devel 

Aug  9 15:48:25 localhost polkitd[714]: Registered Authentication Agent for unix-process:16393:1913784 (system bus name :1.119 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Aug  9 15:48:25 localhost polkitd[714]: Unregistered Authentication Agent for unix-process:16393:1913784 (system bus name :1.119, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Aug  9 15:48:33 localhost vsftpd[16438]: pam_mysql - MySQL error (Access denied for user 'vsftpd'@'192.168.1.250' (using password: YES))

在mysql中执行:grant all privileges on *.* to root@'%' identified by 'root';           给可以访问权限

你可能感兴趣的:(linux)