error while loading shared libraries: libmysqlclient.so.16
On installing postfix from source, when running the make install command I get an error
1 |
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
1 |
vi /etc/ld.so.conf |
Add the following line to the end of the file
1 |
/usr/lib/mysql |
Now run ldconfig
1 |
ldconfig |
configure: error: “mysql headers missing.”
Back to Errors