« How to prevent abuse of a remote signup page (PHP) | Main | Installing OpenSUSE on a SuperMicro with an Adaptec 2015S »

Freebsd Dovecot Drac Plugin

I noticed the following error in my dovecot.log :

dlopen(/usr/local/lib/dovecot/pop3/drac.so) failed: /usr/local/lib/dovecot/pop3/drac.so: Undefined symbol "dracauth"

After reading Timo's read me on building drac.c (http://www.dovecot.org/patches/drac.c), there a few things you need to do to get rid of this error:

first extract the object from the drac library:
mkdir dracobj
cd dracobj
ar x /usr/local/lib/libdrac.a
cd ..

set your dovecot source location:

set dovecot=/usr/ports/mail/dovecot/work/dovecot-1.0.beta3

Then build drac with the following arguments:

gcc -Wall -W -shared -fPIC -DHAVE_CONFIG_H -I$dovecot -I$dovecot/src/lib drac.c -o drac.so dracobj/*

This should remove that error completely.

Comments

Very good site, congratulations!

|digg this

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)