error while loading shared libraries: libmysqlclient.so.16
On installing postfix from source, when running the make install command I get an error
bin/postconf: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
This is because MySQL library path is not in system library locations.
To fix the error edit /etc/ld.so.conf
vi /etc/ld.so.conf
Add the following line to the end of the file
/usr/lib/mysql
Now run ldconfig
ldconfig
configure: error: “mysql headers missing.”
Back to Errors