问题

/usr/bin/ld: cannot find -lmysqlclient

collect2: ld returned 1 exit status
make: *** [sqlsyslogd] Error 1
解决办法
find / -name libmysqlclient.so
/usr/lib64/mysql/libmysqlclient.so
ln -s  /usr/lib64/mysql /usr/local/lib/