problem with installation on debian amd64

Have:
Debian squeeze amd64
uname -a
Linux deb-cacti 2.6.32-5-amd64 #1 SMP Mon Jan 16 16:22:28 UTC 2012 x86_64 GNU/Linux

Get ejabber installation from
http://www.process-one.net/downloads/ejabberd/2.1.10/ejabberd-2.1.10-lin...

Usual install and get:

Unpacking /opt/ejabberd-2.1.10/doc/webadmmainru.png
Unpacking /opt/ejabberd-2.1.10/doc/features.html
Executing final installation script
Error executing post installation script
/opt/ejabberd-2.1.10/bin/postinstall.sh
\/opt/ejabberd-2.1.10/bin/beam: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/opt/ejabberd-2.1.10/bin/beam: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/opt/ejabberd-2.1.10/bin/beam: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/opt/ejabberd-2.1.10/bin/beam: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/opt/ejabberd-2.1.10/bin/beam: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/opt/ejabberd-2.1.10/bin/beam: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/opt/ejabberd-2.1.10/bin/beam: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/opt/ejabberd-2.1.10/bin/beam: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/opt/ejabberd-2.1.10/bin/beam: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

But package libncurses is installed. So, as I think, the problem is in incorrect making of patch...
Can you fix it?

just added into

just added into /etc/apt/sources.list:
deb http://ftp.debian.org/debian/ sid main

apt-get update
apt-get install ejabberd

After that just commented string "deb http://ftp.debian.org/debian/ sid main".
All is works now.

Syndicate content