FAQ / Building and Installing / Q0113
| /Q0101 /Q0102 /Q0103 /Q0104 /Q0105 /Q0106 /Q0107 /Q0108 /Q0109 /Q0110 /Q0111 /Q0112 /Q0113 /Q0114 /Q0115 /Q0116 /Q0117 /Q0118 /Q0119 /Q0120 |
Q0113
Question
I've compiled Exim and I've managed to start it but there was one problem - it always complained that libmsqlclient.so.10 was not found, even though this file is in /usr/local/lib/mysql/.
Answer
Solaris: ensure you have this in your Local/Makefile:
LOOKUP_LIBS=-L/usr/local/lib/mysql -R/usr/local/lib/mysql
Net/Open/FreeBSD: Run this command (or ensure it gets run automatically at boot time):
ldconfig -m /usr/local/lib/mysql
Linux: add /usr/local/lib/mysql to /etc/ld.so.conf and re-run ldconfig. Alternatively, add
-Wl,-rpath -Wl,/usr/local/lib/mysql
to EXTRA_LIBS and then re-link (this is similar to the Solaris solution above). This will probably also work on other systems that use GNU Binutils.
| /Q0101 /Q0102 /Q0103 /Q0104 /Q0105 /Q0106 /Q0107 /Q0108 /Q0109 /Q0110 /Q0111 /Q0112 /Q0113 /Q0114 /Q0115 /Q0116 /Q0117 /Q0118 /Q0119 /Q0120 |
FAQ / Building and Installing / Q0113
