xlordt, if you installed in /opt/tls/ it shouldn't have a lib/ directory, you should see 3 files in a tls1.50/ directory, which are tls.tcl pkgIndex.tcl and libtls1.50.so
the best thing for you to do, is to copy those three files to /usr/lib/tls1.50/
make sure the pkgIndex.tcl is right, it does the load [file join $dir libtls1.50.so].. if it does load [file join $dir .. libtls1.50.so], then the libtls1.50.so should go in /usr/lib, not in /usr/lib/tls1.50.
Also, if you use tcl/tk 8.5a4, read the forum, the pkgIndex.tcl should have a 'package ifneeded tls 1.50' not 'package ifneeded tls 1.5', so modify it and try again.
Thanx for the explanation... I moved libtls1.50 to /usr/lib, and its working fine now.