WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline fangis

  • WikiUser
  • *
  • Posts: 37
can't run expect, not sure why
« on: March 25, 2014, 07: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

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5201
Re: can't run expect, not sure why
« Reply #1 on: March 25, 2014, 09:08:39 AM »
Hi fangis
libtcl8.5.so  is in  tcl_tk.tcz
libtcl8.6.so  is in  tcl.tcz

Offline fangis

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

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5201
Re: can't run expect, not sure why
« Reply #3 on: March 25, 2014, 04: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

  • Jr. Member
  • **
  • Posts: 80
Re: can't run expect, not sure why
« Reply #4 on: February 04, 2017, 11:04:55 PM »
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: 6840
    • My Community Forum
Re: can't run expect, not sure why
« Reply #5 on: February 04, 2017, 11:28:20 PM »
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: 9009
Re: can't run expect, not sure why
« Reply #6 on: February 06, 2017, 12:50:22 AM »
expect (and dejagnu) posted to tc-7.x x86 repo

Offline Adam

  • Jr. Member
  • **
  • Posts: 80
Re: can't run expect, not sure why
« Reply #7 on: February 08, 2017, 07: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, 07:27:16 PM by Adam »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9009
Re: can't run expect, not sure why
« Reply #8 on: February 08, 2017, 11:47:58 PM »
hping3 posted

Offline Adam

  • Jr. Member
  • **
  • Posts: 80
Re: can't run expect, not sure why
« Reply #9 on: February 09, 2017, 08: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: 9009
Re: can't run expect, not sure why
« Reply #10 on: February 10, 2017, 03: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: 9009
Re: can't run expect, not sure why
« Reply #11 on: February 10, 2017, 10:58:18 PM »
hping3 re-posted - now (hopefully) with tcl scripting support