Skip to content
Nigel Metheringham edited this page Nov 29, 2012 · 2 revisions



Exim is failing to find the MySQL library, even though is it present within <small>LD_LIBRARY_PATH</small>. I'm getting this error:

/usr/local/bin/exim: fatal: open failed:
No such file or directory


Exim is suid, and <small>LD_LIBRARY_PATH</small> is ignored for suid binaries on a Solaris (and other?) systems. What you should be doing is adding -R/local/lib/mysql to the same place in the compilation that you added -L/local/lib/mysql. This tells the binary where to look without needing a path variable.