bsdzone BSDZone - FreeBSD help, how-to guides, and articles.

  [ Home ]   [ Current News ]   [ Howto Archive ]   [ Books ]   [ Search ]   [ Links ]   [ Contact ]  [ About ]  


ldconfig?
General Admin - 17 Oct 04

IMAP compaining it can’t find libmysqlclient.so.12?

Tested on FreeBSD 4.10
I recently ran into an issue with mysql, vpopmail, and courier-imap on freebsd 4-ten where everytime I would try to authenticate through imap, it would kick back an error that it couldn’t find libmysqlclient.so.12 error. The solution was to find / -name libmysqlclient.so.12, then ldconfig -m the path to where it was.

In my case:
/usr/local/lib/mysql/libmysqlclient.so.12
so
ldconfig -m /usr/local/lib/mysql

I then tried to authenticate again, and it worked.

So then I added
ldconfig_paths=”/usr/lib /usr/local/lib /usr/X11R6/lib /usr/local/lib/mysql” to /etc/rc.conf
and it works after reboot.


One Response to “ldconfig?”

  1. Hiten Says:

    hurray you are simply great it works
    tried on freebsd5.2.1 with mysql4.2.1 on postfix 2.2..5
    dict error got resolved and ld now in start up super
    you made my day
    thanks a million -_-

Leave a Reply