Displaying 3 results from an estimated 3 matches for "ldrac".
Did you mean:
drac
2007 Oct 05
1
Compiling drac.c on a 64 bit system
...rface. However,
when I compile drac.c I get the following link errors; anybody know what the
right compile options are for a 64 bit system? I have a Gentoo Linux system
using the amd64 architecture.
gcc -Wall -W -shared -fPIC -DHAVE_CONFIG_H -I$dovecot -I$dovecot/src/lib
drac.c -o drac.so -ldrac
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libdrac.a(dracauth.o):
relocation R_X86_64_32S against `a local symbol' can not be used when making
a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64...
2011 Nov 15
3
getenv() in plugin not working
...mand:
/usr/local/sbin/rpc.dracd -i -e 5 /etc/postfix/dracd.db
I downloaded the drac.c file linked on the above URL: http://www.dovecot.org/patches/1.1/drac.c and built it using this command:
gcc -Wall -W -shared -fPIC -DHAVE_CONFIG_H drac.c -I/usr/include/dovecot -L/usr/lib64/dovecot -o drac.so -ldrac
Then I copied drac.so to /usr/lib64/dovecot (this is an x86_64 SL 6.1 system - dovecot 2.0.9) and modified my /etc/dovecot/conf.d/20-imap.conf file:
mail_plugin_dir = /usr/lib64/dovecot
mail_plugins = drac
Restart dovecot and try to login and getting these messages for ANY login attempts:
d...
2005 Mar 15
1
Drac and Dovecot, almost there ...
...d running and trying to get the two
connected. I'm using the FC3 rpms from callimg yum install.
I've downloaded the drac patch from http://dovecot.org/patches/drac.c
and compiled it with both
gcc -Wall -W -shared -fPIC -DHAVE_CONFIG_H -I$dovecot
-I$dovecot/src/lib drac.c -o drac.so -ldrac
and
gcc -Wall -W -shared -fPIC -DHAVE_CONFIG_H -I$dovecot
-I$dovecot/src/lib drac.c -o drac.so
I get no warnings or errors on the compiling to drac.so. In the conf
file I have
imap_use_modules = yes
imap_modules = /usr/lib/dovecot/imap
However, I don't see the module being called....