|
Valérian
|
 |
« Reply #15 on: April 24, 2007, 10:07:45 pm » |
|
"can't find package tls" but:
valerian@valerian-desktop:~$ tclsh % package require tls 1.50
:S
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #16 on: April 25, 2007, 03:00:11 am » |
|
that's weird, maybe when you launch 'tclsh', it's tcl/tk 8.4 that gets launched? I think tls needs to be recompiled for tcl 8.5 for it to work with the tcl/tk 8.5 version.
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
|
vivia
|
 |
« Reply #17 on: April 25, 2007, 11:11:44 am » |
|
No, I think you just add the 0 and you're done. Maybe the ::auto_path which makes it look somewhere else first? Valerian: try these two commands in both tclsh and aMSN's console (Ctrl+C from aMSN main window) : set ::auto_path package require tls
|
|
|
|
|
Logged
|
|
|
|
|
Valérian
|
 |
« Reply #18 on: April 25, 2007, 01:29:17 pm » |
|
No, I already added the 0... I tried again the two command: In aMSN's console, it's still "can't find package tls" And in tclsh: "valerian@valerian-desktop:~$ tclsh % set ::auto_path package require tls/usr/lib/tcl8.4 /usr/lib" So, if I understand, it's what kakaroto said and I need te recompile tls with tcl8.5!? EDIT: I have downloaded tls to compile it but: valerian@valerian-desktop:~/tls1.5$ ./configure --with-tcl=/usr/local/lib --with-ssl=/usr/lib/ssl loading cache ./config.cache configure: error: /usr/local/ssl is not a valid directory I first tried without the path to ssl but same result :s Thanks for helping.
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #19 on: April 25, 2007, 03:34:21 pm » |
|
thanks, it's indeed tcl/tk 8.4 you have when doing tclsh. I suggest you recompile tls, make sure you have openssl development libs installed. You could also try in the amsn console: load /path/to/libtls1.5.so and see if it gives you more details about the exact error... but recompiling is probably the solution for you.
@vivia : many people reported that they had to recompile tls with 8.5 for it to work, maybe there's a version out there that wasn't compiled with stubs which is why it fails on 8.5 ? it might work for you if you have installed a package in which it was compiled with stubs support.
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
|
Valérian
|
 |
« Reply #20 on: April 25, 2007, 04:05:31 pm » |
|
I've tried to load libtls1.5.so and there's no error but when I try to connect it doesn't work because I never get connected (ça charge dans le vide  But I don't know how to say that in english)! Openssl (0.8.9c) is installed but I don't know if it's the development libs (and there's no openssl-dev package :s).
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #21 on: April 25, 2007, 04:41:36 pm » |
|
hehe, that's weird.. after you do the 'load', try 'source /path/to/tls.tcl' if it works, then something's wrong, lol... oh  maybe I know.. if tls is installed is /usr/lib/tcl8.4/tls1.5 then it's normal, tcl 8.5 doesn't look in /usr/lib/tcl8.4 ... so if that's the problem, then maybe just move the tls directory to /usr/lib so it will be considered by both tcl/tk 8.4 and 8.5
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
|
Valérian
|
 |
« Reply #22 on: April 25, 2007, 05:00:33 pm » |
|
Haha, it works with source ... I think it's because the name is always with 1.50 and not 1.5? Is this possible? Your a genuis lol Thanks a lot! 
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #23 on: April 25, 2007, 06:29:31 pm » |
|
make sure the pkgIndex.tcl is correct, otherwise make sure the tls directory is in a subdirectory of one of the dirs in the result of set ::auto_path
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
|
Valérian
|
 |
« Reply #24 on: April 25, 2007, 09:10:44 pm » |
|
I renamed the folder tls1.50 to tls1.5 and it works. This is just stupid -_-
Thanks guys!
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #25 on: April 25, 2007, 10:17:58 pm » |
|
lol, that.. I didn't know!
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
pepz
Newbie
Offline
Posts: 8
|
 |
« Reply #26 on: May 01, 2007, 04:36:36 pm » |
|
i've the same problem after read all the posts in the forum. this is my linux box: mandriva 2007.1 compiled tcl/tk 8.5 openssl 0.9.8e i tried to remove the openssl 0.9.8, but it is part of my system, so i can't remove it. (msn) 1 % set ::auto_path /usr/lib/tcl8.5 /usr/lib /usr/lib/tk8.5 /usr/lib/tk8.5/ttk /home/pepz/.amsn/plugins utils/linux utils [root@localhost pepz]# tclsh % package require tls couldn't load file "/usr/lib/tls1.50/libtls-1.50.so": /usr/lib/tls1.50/libtls-1.50.so: undefined symbol: tclStubsPtr
please help me bye pepz[/code]
|
|
|
|
|
Logged
|
|
|
|
|
|
pepz
Newbie
Offline
Posts: 8
|
 |
« Reply #28 on: May 01, 2007, 07:10:13 pm » |
|
i can't recompile it; i got this error: [root@localhost tls1.5]# ./configure loading cache ./config.cache configure: error: /usr/local/ssl is not a valid directory libopenssl 0.9.8e files are: [root@localhost tls1.5]# rpm -ql libopenssl0.9.8 /usr/lib/libcrypto.so.0.9.8 /usr/lib/libssl.so.0.9.8 /usr/lib/openssl/engines /usr/lib/openssl/engines/lib4758cca.so /usr/lib/openssl/engines/libaep.so /usr/lib/openssl/engines/libatalla.so /usr/lib/openssl/engines/libchil.so /usr/lib/openssl/engines/libcswift.so /usr/lib/openssl/engines/libgmp.so /usr/lib/openssl/engines/libnuron.so /usr/lib/openssl/engines/libsureware.so /usr/lib/openssl/engines/libubsec.so /usr/share/doc/libopenssl0.9.8-0.9.8e /usr/share/doc/libopenssl0.9.8-0.9.8e/FAQ /usr/share/doc/libopenssl0.9.8-0.9.8e/INSTALL /usr/share/doc/libopenssl0.9.8-0.9.8e/LICENSE /usr/share/doc/libopenssl0.9.8-0.9.8e/NEWS /usr/share/doc/libopenssl0.9.8-0.9.8e/PROBLEMS /usr/share/doc/libopenssl0.9.8-0.9.8e/README /usr/share/doc/libopenssl0.9.8-0.9.8e/README.ASN1 /usr/share/doc/libopenssl0.9.8-0.9.8e/README.ENGINE /usr/share/doc/libopenssl0.9.8-0.9.8e/README.urpmi openssl0.9.8e files are /etc/pki /etc/pki/CA /etc/pki/CA/private /etc/pki/tls /etc/pki/tls/certs /etc/pki/tls/certs/Makefile /etc/pki/tls/certs/make-dummy-cert /etc/pki/tls/misc /etc/pki/tls/misc/CA /etc/pki/tls/misc/CA.pl /etc/pki/tls/misc/c_hash /etc/pki/tls/misc/c_info /etc/pki/tls/misc/c_issuer /etc/pki/tls/misc/c_name /etc/pki/tls/openssl.cnf /etc/pki/tls/private /etc/pki/tls/rootcerts /usr/bin/c_rehash /usr/bin/openssl /usr/bin/ssleay /usr/share/doc/openssl-0.9.8e /usr/share/doc/openssl-0.9.8e/FAQ /usr/share/doc/openssl-0.9.8e/INSTALL /usr/share/doc/openssl-0.9.8e/LICENSE /usr/share/doc/openssl-0.9.8e/NEWS /usr/share/doc/openssl-0.9.8e/PROBLEMS /usr/share/doc/openssl-0.9.8e/README /usr/share/doc/openssl-0.9.8e/README.ASN1 /usr/share/doc/openssl-0.9.8e/README.ENGINE /usr/share/doc/openssl-0.9.8e/README.Mandriva-manpage /usr/share/doc/openssl-0.9.8e/README.urpmi /usr/share/man/man1/CA.pl.1.bz2 /usr/share/man/man1/asn1parse.1.bz2 /usr/share/man/man1/ca.1.bz2 /usr/share/man/man1/ciphers.1.bz2 /usr/share/man/man1/crl.1.bz2 /usr/share/man/man1/crl2pkcs7.1.bz2 /usr/share/man/man1/dgst.1.bz2 /usr/share/man/man1/dhparam.1.bz2 /usr/share/man/man1/dsa.1.bz2 /usr/share/man/man1/dsaparam.1.bz2 /usr/share/man/man1/ec.1.bz2 /usr/share/man/man1/ecparam.1.bz2 /usr/share/man/man1/enc.1.bz2 /usr/share/man/man1/errstr.1.bz2 /usr/share/man/man1/gendsa.1.bz2 /usr/share/man/man1/genrsa.1.bz2 /usr/share/man/man1/md2.1.bz2 /usr/share/man/man1/md4.1.bz2 /usr/share/man/man1/md5.1.bz2 /usr/share/man/man1/mdc2.1.bz2 /usr/share/man/man1/nseq.1.bz2 /usr/share/man/man1/ocsp.1.bz2 /usr/share/man/man1/openssl-passwd.1.bz2 /usr/share/man/man1/openssl.1.bz2 /usr/share/man/man1/pkcs12.1.bz2 /usr/share/man/man1/pkcs7.1.bz2 /usr/share/man/man1/pkcs8.1.bz2 /usr/share/man/man1/rand.1.bz2 /usr/share/man/man1/req.1.bz2 /usr/share/man/man1/ripemd160.1.bz2 /usr/share/man/man1/rsa.1.bz2 /usr/share/man/man1/rsautl.1.bz2 /usr/share/man/man1/s_client.1.bz2 /usr/share/man/man1/s_server.1.bz2 /usr/share/man/man1/s_time.1.bz2 /usr/share/man/man1/sess_id.1.bz2 /usr/share/man/man1/sha.1.bz2 /usr/share/man/man1/sha1.1.bz2 /usr/share/man/man1/smime.1.bz2 /usr/share/man/man1/speed.1.bz2 /usr/share/man/man1/spkac.1.bz2 /usr/share/man/man1/ssl-passwd.1.bz2 /usr/share/man/man1/verify.1.bz2 /usr/share/man/man1/version.1.bz2 /usr/share/man/man1/x509.1.bz2 /usr/share/man/man5/config.5.bz2 /usr/share/man/man5/x509v3_config.5.bz2 /usr/share/man/man7/Modes_of_DES.7.bz2 /usr/share/man/man7/des_modes.7.bz2
there isn't a way to link libtsl to the 0.9.8e openssl release? thanks a lot bye pepz
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #29 on: May 01, 2007, 07:49:21 pm » |
|
pepz, that's not in the domain of aMSN. [hint] you must have libopenssl-dev package and try with ./configure --with-ssl=/path/to/dev/package .. or try ./configure --help [/hint]
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
|