Here we will see how to install TclSASL to be able to authenticate using SASL on the server.
-
Install Cyrus SASL v2
from source
wget ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.19.tar.gz tar -xzvf cyrus-sasl-2.1.19.tar.gz cd cyrus-sasl-2.1.19 ./configure make make install
using apt
apt-get install libsasl2 libsasl2-modules libsasl2-dev
-
Install TclSASL
from source
Download it:
wget http://tkabber.jabber.ru/files/dependencies/tclsasl.tgz tar -xzvf tclsasl.tgz cd tclsasl-1.0.1/
Now configure the compilation:- default
./configure
- on Debian unstable
./configure --with-tcl=/usr/lib/tcl8.4/ --with-cyrus-sasl=/usr/
- on Debian Woody
./configure --with-tcl=/usr/lib/tcl8.3/ --with-cyrus-sasl=/usr/
make echo package ifneeded sasl 1.0.1 \"[list load [file join \$dir libtclsasl1.0.1.so]]\" >>pkgIndex.tcl make install cp /usr/lib/sasl2/libsasldb.so.2.0.19 /usr/lib/libsasldb.so.2
- default
using apt on Debian unstable
Add Teopetuk's unofficial Debian APT repository if you don't have it. Then update the list of available packages:
apt-get update
Now you can download and install the programapt-get install tclsasl
tclsh % package require sasl 1.0.1 % exit
-
Configure Tkabber
When Tkabber is able to load TclSASL it shows a new tab on the Login Window. Check the SASL option to use SASL authentication.
SASL Help
Compiles correctly but seem to be getting symbols error:
couldn't load file "/usr/lib/libtclsasl.so": /usr/lib/libtclsasl.so: undefined symbol: db_create
Ideas?
Debian Package
Debian package of tclsasl for unstable branch is available at http://sgolovan.nes.ru/debian/sid/.
Add
to /etc/apt/sources.list and use APT to fetch and install package tclsasl.