I get much the same and have to hand set LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/opt/mysql/lib:${LD_LIBRARY_PATH}
You'd need to adjust that /opt to wherever your libmysqlclient_r.so.16 lives.
I get much the same and have to hand set LD_LIBRARY_PATH
export LD_LIBRARY_ PATH=/opt/ mysql/lib: ${LD_LIBRARY_ PATH}
You'd need to adjust that /opt to wherever your libmysqlclient_ r.so.16 lives.