Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: fangis on March 25, 2014, 11:32:38 AM

Title: can't run expect, not sure why
Post by: fangis on March 25, 2014, 11:32:38 AM
I am getting the following error when I install and try to run expect:

expect error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory

I did a provides search and this file should be in tcl.tcz which is already installed, so i am not sure what should I do to fix this?

for info i am running tinycore version 4.7.7 so maybe there is some incompatibility in the repositories?

thanks for the help :)
fangis
Title: Re: can't run expect, not sure why
Post by: Rich on March 25, 2014, 01:08:39 PM
Hi fangis
libtcl8.5.so  is in  tcl_tk.tcz
libtcl8.6.so  is in  tcl.tcz
Title: Re: can't run expect, not sure why
Post by: fangis on March 25, 2014, 05:46:30 PM
that worked, thanks and  apologies for the mistake
Title: Re: can't run expect, not sure why
Post by: Rich on March 25, 2014, 08:43:34 PM
Hi fangis
You are welcome. No apology necessary. Looks like it might be an issue with the dependency file. The dependency file
lists  tcl.tcz.
Title: Re: can't run expect, not sure why
Post by: Adam on February 05, 2017, 02:04:55 AM
Does expect.tcz still available?
Code: [Select]
tc@box:/$ tce-load -wi expect.tcz
Downloading: expect.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: expect.tcz.md5.txt: No such file or directory
Error on expect.tcz
tc@box:/$

Code: [Select]
tc@box:~$ curl http://distro.ibiblio.org/tinycorelinux/2.x/tcz/expect.tcz.info
Title: expect.tcz
Description: A Tcl/Tk tool for automating interactive applications (TESTING)
Version: 5.44.1.15
Author: Zab
Original-site: http://expect.nist.gov
Copying-policy: Public Domain
Size: 196.0K
Extension_by: Zab
Comments: ---

Change-log: 2010/06.21 Fix License
Current: 2010/06/21 First Version
tc@box:~$
Title: Re: can't run expect, not sure why
Post by: bmarkus on February 05, 2017, 02:28:20 AM
You are referring to TC 2.x repo but using TC 7.x (?) Probably not in the repo. Use extension browser function of the tce tool in command line.

And BTW, please read the core book.
Title: Re: can't run expect, not sure why
Post by: Juanito on February 06, 2017, 03:50:22 AM
expect (and dejagnu) posted to tc-7.x x86 repo
Title: Re: can't run expect, not sure why
Post by: Adam on February 08, 2017, 10:13:13 PM
expect (and dejagnu) posted to tc-7.x x86 repo

Perfect!!! Thanks Juanito, I really appreciate your help  :)

Btw, can you help to post hping too?
http://forum.tinycorelinux.net/index.php/topic,1005.msg129468.html#msg129468
http://www.hping.org/
Title: Re: can't run expect, not sure why
Post by: Juanito on February 09, 2017, 02:47:58 AM
hping3 posted
Title: Re: can't run expect, not sure why
Post by: Adam on February 09, 2017, 11:48:07 PM
hping3 posted

Super cool  :)

Code: [Select]
tc@box:~$ tce-load -wi hping3
hping3.tcz.dep OK
Downloading: hping3.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
hping3.tcz           100% |*******************************************************************************************************************| 40960   0:00:00 ETA
hping3.tcz: OK
tc@box:~$

However I'm getting this error... Sorry, this hping binary was compiled without TCL scripting support. Please advise
Code: [Select]
tc@box:~$ hping3
Sorry, this hping binary was compiled without TCL scripting support
tc@box:~$
tc@box:~$ tce-load -wi tcl
tcl is already installed!
tc@box:~$
Title: Re: can't run expect, not sure why
Post by: Juanito on February 10, 2017, 06:46:39 AM
Hmm - that's odd, the hping3 binary has a dependency on libtcl.

Do you get an error from this:
Code: [Select]
$ ldd /usr/local/sbin/hping3
$ sudo hping3 google.com

The source does not use a conventional configure/Makefile, so it's difficult to know exactly what's going on.

Do you need tcl scripting support?
Title: Re: can't run expect, not sure why
Post by: Juanito on February 11, 2017, 01:58:18 AM
hping3 re-posted - now (hopefully) with tcl scripting support