On 10/27/14 13:00, Stuart Henderson wrote:
> Try this diff.
> 
> Untested but if my theory as to why it's breaking is correct, it
> should work.
> 
> Only the dlopen()'d libdriver_mysql.so modules are linked with
> -lpthread. This isn't enough on OpenBSD, the programs calling them
> also need linking that way.
> 
> LD_PRELOAD didn't work because Dovecot cleans the environment that
> it passes to child processes (specifically, whichever of lda, auth,
> dict, *-login etc. actually call dlopen to load the mysql module).
> 
> Diff is done this way for expediency, to go upstream it would at
> least want the patch moving to configure.ac and checking the OS.
> 
ok for me, probably courier-authlib,-mysql needs something similar,
I will double check soon.
 Cheers
  Giovanni 

Reply via email to