[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with postfix and libsasl2



[ Please stop top-posting. (http://en.wikipedia.org/wiki/Top_posting) ] 

On Wed, Oct 03, 2007 at 09:04:14 +0200, Daniele Salatti wrote:
> Hi!
> Here is the output of the commands you suggested:
> 
> dpkg -S libsasl2.so.2:
> 
> libsasl2-2: /usr/lib/libsasl2.so.2
> cyrus-sasl2-dbg: /usr/lib/debug/usr/lib/libsasl2.so.2.0.22
> libsasl2-2: /usr/lib/libsasl2.so.2.0.22

That is as it should be: The Debian package installed the library and
created the symlink in /usr/lib/. The Debian package manager does not
know anything about the libsasl2.so.2.0.2* file/symlink in
/usr/local/lib/.

> file /usr/local/lib/libsasl2.so.2:
> 
> /usr/local/lib/libsasl2.so.2: symbolic link to `libsasl2.so.2.0.22'
> 
> stat -L /usr/local/lib/libsasl2.so.2:
> 
>   File: `/usr/local/lib/libsasl2.so.2'
>   Size: 290327          Blocks: 584        IO Block: 4096   regular file
> Device: 801h/2049d      Inode: 262224      Links: 1
> Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (   50/   staff)
> Access: 2007-10-03 06:34:58.000000000 +0200
> Modify: 2007-09-30 12:09:54.000000000 +0200
> Change: 2007-09-30 12:09:54.000000000 +0200
> 
> file /usr/lib/libsasl2.so.2:
> 
> /usr/lib/libsasl2.so.2: symbolic link to `libsasl2.so.2.0.22'
> 
> stat -L /usr/lib/libsasl2.so.2:
> 
>   File: `/usr/lib/libsasl2.so.2'
>   Size: 88828           Blocks: 184        IO Block: 4096   regular file
> Device: 801h/2049d      Inode: 246065      Links: 1
> Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
> Access: 2007-09-30 12:13:22.000000000 +0200
> Modify: 2006-12-13 22:26:16.000000000 +0100
> Change: 2006-12-27 11:07:11.000000000 +0100

Well, you definitely have a different version of the library in
/usr/local/lib/ and it seems to take precedence over the one from
Debian. This alien library is broken or there is a version mismatch. If
you get rid of it then the system should use the correct one in
/usr/lib/.

However, you really have to figure out where the files in /usr/local/lib
came from. Did you maybe follow some tutorial on the web that told you
to compile and "make install" some programs from source? If you never
did such a thing, then I think you have to reinstall your system from
safe media because you may have been compromised. When additional files
start to appear mysteriously then all bets are off, especially if these
files are "alternative" versions of libraries related to authentication
and security,

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: