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
- Re: dovecot-mysql broken on my system johnw
- Re: dovecot-mysql broken on my system John Wong
- Re: dovecot-mysql broken on my system Luis Coronado
- Re: dovecot-mysql broken on my system johnw
- Re: dovecot-mysql broken on my system Stuart Henderson
- Re: dovecot-mysql broken on my system Stuart Henderson
- Re: dovecot-mysql broken on my system johnw
- Re: dovecot-mysql broken on my system Stuart Henderson
- Re: dovecot-mysql broken on my system johnw
- Re: dovecot-mysql broken on my system David Coppa
- Re: dovecot-mysql broken on my system Giovanni Bechis
- Re: dovecot-mysql broken on my system Giovanni Bechis
- Re: dovecot-mysql broken on my system Stuart Henderson
- Re: dovecot-mysql broken on my syst... Giovanni Bechis
- Re: dovecot-mysql broken on my system Antti Harri
- Re: dovecot-mysql broken on my system Brad Smith
- Re: dovecot-mysql broken on my system Stuart Henderson
- Re: dovecot-mysql broken on my system Brad Smith