--- áÌÅËÓÅÊ äÏÍÏÒÁÄÏ× <[EMAIL PROTECTED]> wrote:

> > # ldd /usr/libexec/postfix/smtpd
> >         linux-gate.so.1 =>  (0xb7fa0000)
> >         libmysqlclient.so.15 =>
> > /usr/local/mysql/lib/mysql/libmysqlclient.so.15 (0xb7f23000)
> >         libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7efe000)
> >         libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0xb7ee7000)
> your postfix was built with sasl support


I think the problem is here;


# imtest -a cyrus -m LOGIN localhost
imtest: /usr/local/lib/libsasl2.so.2: no version information available
(required by imtest)
connect: Connection refused
failure: Network initialization


# ldconfig -p | grep libsasl2
        libsasl2.so.2 (libc6) => /usr/local/lib/libsasl2.so.2
        libsasl2.so.2 (libc6) => /usr/lib/libsasl2.so.2
        libsasl2.so (libc6) => /usr/local/lib/libsasl2.so

libsasl2.so.2 (libc6) is symbolic linked to 2 files.  How it comes? 
Which config file controls it?


I suppose the 2nd link is correct.


# ls -l /usr/local/lib/ | grep libsasl2.so.2
lrwxrwxrwx 1 root staff      18 Nov  5 01:57 libsasl2.so ->
libsasl2.so.2.0.22
lrwxrwxrwx 1 root staff      18 Nov  5 01:57 libsasl2.so.2 ->
libsasl2.so.2.0.22
-rwxr-xr-x 1 root staff  290279 Nov  5 01:57 libsasl2.so.2.0.22
 


B.R.
Stephen L









> 
> > I can't exact apply;
> > 
> >  (for Cyrus SASL version 2.1.x):
> > 
> >     % make tidy # if you have left-over files from a previous build
> >     % make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
> >         -I/usr/local/include/sasl" AUXLIBS="-L/usr/local/lib \
> >         -R/usr/local/lib -lsasl2"
> > 
> > 
> > Because the howto which I'm following uses MySQL libraries.  I must
> add
> > part of above on:-
> > 
> > POSTFIX
> > http://www.postfixvirtual.net/postfixvirtual.html#postfix
> > $ make makefiles 'CCARGS=-DHAS_MYSQL \
> > -I/usr/local/mysql/include/mysql  -DUSE_SASL_AUTH \
> > -I/usr/local/include/sasl -I/usr/local/bdb/include \
> > -DUSE_TLS -I/usr/local/ssl/include/openssl ' \
> >   'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient \
> > -lz -lm -L/usr/local/lib -lsasl2  -L/usr/local/bdb/lib\
> > -L/usr/local/ssl/lib -lssl -lcrypto'
> > #make install
> > 
> > 
> > Any suggestion?  TIA
> One more time. Use pakage manager for your distr ;) There are no need
> to compile postfix from source, imho
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply via email to