WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: can't run expect, not sure why  (Read 6126 times)

Offline fangis

  • Newbie
  • *
  • Posts: 41
    • rafalis2
can't run expect, not sure why
« 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

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: can't run expect, not sure why
« Reply #1 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

Offline fangis

  • Newbie
  • *
  • Posts: 41
    • rafalis2
Re: can't run expect, not sure why
« Reply #2 on: March 25, 2014, 05:46:30 PM »
that worked, thanks and  apologies for the mistake

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: can't run expect, not sure why
« Reply #3 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.

Offline Adam

  • Full Member
  • ***
  • Posts: 121
Re: can't run expect, not sure why
« Reply #4 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:~$

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: can't run expect, not sure why
« Reply #5 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: can't run expect, not sure why
« Reply #6 on: February 06, 2017, 03:50:22 AM »
expect (and dejagnu) posted to tc-7.x x86 repo

Offline Adam

  • Full Member
  • ***
  • Posts: 121
Re: can't run expect, not sure why
« Reply #7 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/
« Last Edit: February 08, 2017, 10:27:16 PM by Adam »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: can't run expect, not sure why
« Reply #8 on: February 09, 2017, 02:47:58 AM »
hping3 posted

Offline Adam

  • Full Member
  • ***
  • Posts: 121
Re: can't run expect, not sure why
« Reply #9 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:~$

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: can't run expect, not sure why
« Reply #10 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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: can't run expect, not sure why
« Reply #11 on: February 11, 2017, 01:58:18 AM »
hping3 re-posted - now (hopefully) with tcl scripting support