Hello,

I have a problem getting sieveshell to work again. If I invoke it like this

/usr/local/cyrus2-cvs/bin/sieveshell 127.0.0.1

I get

connecting to 127.0.0.1
unable to connect to server at /usr/local/cyrus2-cvs/bin/sieveshell line 174.

and the logs say

Nov 26 18:00:36 mail master[1769]: [ID 392559 local6.debug] about to exec /usr/local/cyrus2-cvs/bin/timsieved
Nov 26 18:00:36 mail sieve[1769]: [ID 518349 local6.debug] executed
Nov 26 18:00:36 mail sieve[1769]: [ID 921384 local6.debug] accepted connection
Nov 26 18:00:36 mail perl[1768]: [ID 702911 auth.error] unable to dlopen /usr/lib/sasl2/libmysql.so.2: ld.so.1: /usr/local/perl-5.8.0/bin/perl: fatal: relocation error: file /usr/l
ocal/lib/mysql/libmysqlclient.so.10: symbol __udivdi3: referenced symbol not found
Nov 26 18:00:36 mail perl[1768]: [ID 702911 auth.notice] Bad IPLOCALPORT value
Nov 26 18:00:36 mail master[23921]: [ID 310780 local6.debug] process 1769 exited, status 0

However cyradm is working and sieve is filtering mail !
The only thing which does not work is sieveshell itself and because of the dependency of websieve to managesieve, websieve does not work. So it seems to be a problem with managesieve.so.

I setup sasl2 to authenticate against a mysql database and this also works. I can login into my imap account with the users from the db. With cyradm as well as with my email clients!

If I compare the libraries linked into the two files IMAP.so and managesieve.so they are linked with the same libraries:

schulte-18:05:16:~ >ldd /usr/local/cyrus2-cvs/lib/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/IMAP/IMAP.so
librt.so.1 => /usr/lib/librt.so.1
libdb-3.2.so => /usr/local/lib/libdb-3.2.so
libsasl2.so.2 => /usr/local/lib/libsasl2.so.2
libssl.so.0.9.6 => /usr/local/ssl/lib/libssl.so.0.9.6
libcrypto.so.0.9.6 => /usr/local/ssl/lib/libcrypto.so.0.9.6
libaio.so.1 => /usr/lib/libaio.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libmp.so.2 => /usr/lib/libmp.so.2

schulte-18:05:20:~ >ldd /usr/local/cyrus2-cvs/lib/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/SIEVE/managesieve/managesieve.so
librt.so.1 => /usr/lib/librt.so.1
libsasl2.so.2 => /usr/local/lib/libsasl2.so.2
libdb-3.2.so => /usr/local/lib/libdb-3.2.so
libssl.so.0.9.6 => /usr/local/ssl/lib/libssl.so.0.9.6
libcrypto.so.0.9.6 => /usr/local/ssl/lib/libcrypto.so.0.9.6
libaio.so.1 => /usr/lib/libaio.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libmp.so.2 => /usr/lib/libmp.so.2



As of this logentry, sasl does not seem to work properly, but as said, everything works except sieveshell and websieve and thus the sieve perl module seems to be broken?

Nov 26 18:00:36 mail perl[1768]: [ID 702911 auth.error] unable to dlopen /usr/lib/sasl2/libmysql.so.2: ld.so.1: /usr/local/perl-5.8.0/bin/perl: fatal: relocation error: file /usr/l
ocal/lib/mysql/libmysqlclient.so.10: symbol __udivdi3: referenced symbol not found

Which library defines __udivdi3 ?
Is it a missing library not linked into managesieve.so ?
But why does cyradm work and managesieve does not ?


--Christian--

Reply via email to