Authetication with SASL

Here we will see how to install TclSASL to be able to authenticate using SASL on the server.

  1. Install Cyrus SASL v2

    • from source

      tar -xzvf cyrus-sasl-2.1.19.tar.gz
      cd cyrus-sasl-2.1.19
      make install

    • using apt

      apt-get install libsasl2 libsasl2-modules libsasl2-dev

  2. Install TclSASL

    • from source

      Download it:

      tar -xzvf tclsasl.tgz
      cd tclsasl-1.0.1/
      Now configure the compilation:
      • default
      • 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/
      Compile and install it:
      echo package ifneeded sasl 1.0.1 \"[list load [file join \$dir]]\" >>pkgIndex.tcl
      make install
      cp /usr/lib/sasl2/ /usr/lib/

    • 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 program
      apt-get install tclsasl

    Check it's installed:
    % package require sasl
    % exit

  3. 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.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Compiles correctly but seem to be getting symbols error:

couldn't load file "/usr/lib/": /usr/lib/ undefined symbol: db_create


Debian Package

Debian package of tclsasl for unstable branch is available at


deb sid/

to /etc/apt/sources.list and use APT to fetch and install package tclsasl.

Syndicate content