Craig Graham wrote:

> ----- Original Message -----
> From: Prune <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 02, 2001 8:34 AM
> Subject: recreating a server
> 
>> Finaly, anyone tried to compile cyrus/ cyrus sasl with berkeleyDB 3.2.9A
>> (the wersion shipped with mysql...) ?
>> For me it compiles fine, but there is no way to make it work...
>> I'll have a look later at night.
> 
> 
> That's the version I'm using, since I couldn't get 3.3.11 to work.
> 
> I'm new so my experiences may not be too useful, but in the end after many
> "make distclean"s I renamed all the includes and libs in /usr/ that could
> possibly be conflicting with the Berkeley ones and manually made sure the
> Berkeley ones were in /usr/local/include and /usr/local/lib. I'd have
> thought /usr/local/ would have been earlier in the search path than /usr/
> but perhaps not. This got everything to compile and run without crashing.
> 
> I also had problems with cyradm- the cyradm perl script was copied to the
> relevant directory /usr/local/bin but the support files weren't copied
> anywhere so it couldn't run. Thus followed a lengthy process of tracking
> down the support files and shoving them somewhere in Perl's path.
> 
> You say there's no way to make it work- are you working from the howto? As
> far as I can see that's wrong. It says start the daemons from inetd- if you
> do that they quit immediately and the connection is dropped before they even
> identify themselves. If this is what you mean by it not working,  you have
> to run "master" as root and get rid of any entries in inetd.conf that
> prevent master getting the ports.
> 
Hi again,

I just found a mail il archive, dealing with a signal 11 death
The problem was Sasl related.
I just checked my cyrus-sasl files, and noticed a lib was not the good 
one ....


ldd /opt/mail.new/cyrus/sbin/saslpasswd
/opt/mail.new/cyrus/sbin/saslpasswd:
       libsasl.so.8 => /usr/local/cyrus/lib/libsasl.so.8 (0x28064000)
       libdb-3.2.so => /opt/db/bdb/lib/libdb-3.2.so (0x2806e000)
       libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280e2000)
       libpam.so.1 => /usr/lib/libpam.so.1 (0x280e5000)
       libc.so.4 => /usr/lib/libc.so.4 (0x280ee000)
       libdb-3.1.so => /usr/local/lib/libdb-3.1.so (0x28181000)

moreover, both libdb-3.1 and 3.2 are compiled in !!!
That could be the problem. I'll have a look tonight.

Anyway, I used this to compile. Am I wrong somewhere ?

export 
LD_LIBRARY_PATH=/opt/db/bdb/lib:/opt/db/mysql/lib:/usr/local/ssl/lib/  
export CPPFLAGS="-I/opt/db/bdb/include -I/usr/local/ssl/include 
-I/opt/db/mysql/include -I/usr/local/include -I/usr/include"
export LDFLAGS="-L/opt/db/bdb/lib -L/usr/local/ssl/lib 
-L/opt/db/mysql/lib -L/usr/local/lib -L/usr/lib"       
export 
PATH=/opt/db/mysql/bin:/usr/local/ssl/bin:/opt/db/bdb/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin

./configure --prefix=/opt/mail/cyrus 
--with-plugindir=/opt/mail/cyrus/lib/sasl
make

I'll try to remove all /usr/../lib reference and come back to you...

Prune (sory to bother..)

-- 
    - le Centre - 
a Mad Cow Tribe product

(Very uncommon, but we should please everybody anyway, even disturbed minds)

Reply via email to