[Dovecot] Sieve plugin load error
Running:
dovecot revision 9333:15b4b2c904fe dovecot sieve revision: 1091:0fe00772366f AIX 5.3 64bit
Deliver gives error:
Aug 19 12:30:52 deliver(jsiegle): Error: dlopen(/usr/dovecot-1.2.4/lib/
dovecot/lda/lib90_sieve_plugin.so) failed: rtld: 0712-001 Symbol
notify_command was referenced
from module /usr/dovecot-1.2.4/lib/dovecot/lda/
lib90_sieve_plugin.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol notify_operation/usr/dovecot-1.2.4/lib/dovecot/
lda/lib90_sieve_plugin.so was referenced
from module /usr/dovecot-1.2.4/lib/dovecot/lda/
lib90_sieve_plugin.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-002 fatal error: exiting.
Aug 19 12:30:52 deliver(jsiegle): Fatal: Couldn't load required plugins
Aug 19 12:38:53 deliver(jsiegle): Info: Loading modules from
directory: /usr/dovecot-1.2.4/lib/dovecot/lda
I see a local symbol referenced in the so and also an Undefined as well. tr27n12.aset.psu.edu# nm -X 64 /usr/ladmin/dovecot-1.2.4/lib/dovecot/ lda/lib90_sieve_plugin.so|grep notify_command notify_command U - notify_command d 4563447648 8
notify_operation is different:
# nm lib90_sieve_plugin.so |grep ^notify_operation notify_operation U - # nm lib90_sieve_plugin.a |grep ^notify_operation notify_operation U - notify_operation d 448 8
Jonathan Siegle said the following on 8/19/09 1:46 PM:
Running:
dovecot revision 9333:15b4b2c904fe dovecot sieve revision: 1091:0fe00772366f AIX 5.3 64bit
Deliver gives error:
Aug 19 12:30:52 deliver(jsiegle): Error: dlopen(/usr/dovecot-1.2.4/lib/ dovecot/lda/lib90_sieve_plugin.so) failed: rtld: 0712-001 Symbol notify_command was referenced from module /usr/dovecot-1.2.4/lib/dovecot/lda/ lib90_sieve_plugin.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol notify_operation/usr/dovecot-1.2.4/lib/dovecot/ lda/lib90_sieve_plugin.so was referenced from module /usr/dovecot-1.2.4/lib/dovecot/lda/ lib90_sieve_plugin.so(), but a runtime definition of the symbol was not found.
Ok I think I see the problem. I don't have a shared library for lib-sieve. Just an indexed library(.a). I've been lazy and using http://wiki.dovecot.org/AixPluginsSupport to solve this for dovecot. How do I solve this?
$ nm libsieve.a |grep ^notify_operation notify_operation U - notify_operation d 448 8 notify_operation D 5160 40 notify_operation d 4696 8
On Thu, 2009-08-20 at 08:16 -0400, Jonathan Siegle wrote:
Ok I think I see the problem. I don't have a shared library for lib-sieve. Just an indexed library(.a). I've been lazy and using http://wiki.dovecot.org/AixPluginsSupport to solve this for dovecot. How do I solve this?
I'm not really sure what that script does, but I suppose you'd need to use something similar when compiling Sieve and list all the problematic *.a libraries in args1.
participants (2)
-
Jonathan Siegle
-
Timo Sirainen