WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libncurses  (Read 8481 times)

Offline Bemused

  • Newbie
  • *
  • Posts: 8
libncurses
« on: December 02, 2014, 07:38:19 AM »
libncurses  maybe missing.

It's in the x86 version:
http://www.tinycorelinux.net/5.x/x86/tcz/

but it appears to be missing from the arm port:
http://www.tinycorelinux.net/5.x/armv6/tcz/


Code: [Select]
tce-load -wi libncurses.tcz
Downloading: libncurses.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: libncurses.tcz.md5.txt: No such file or directory
Error on libncurses.tcz

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: libncurses
« Reply #1 on: December 02, 2014, 07:54:19 AM »
libncurses  maybe missing.

It's in the x86 version:
http://www.tinycorelinux.net/5.x/x86/tcz/

but it appears to be missing from the arm port:
http://www.tinycorelinux.net/5.x/armv6/tcz/


There are no libncurses.tcz in the 5.x x86 repo. Same for armv6. Install ncurses.tcz

Use 'Provides' function of Apps or tce to find which tcz package provides a specific file.
Béla
Ham Radio callsign: HA5DI

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

Offline Bemused

  • Newbie
  • *
  • Posts: 8
Re: libncurses
« Reply #2 on: December 02, 2014, 09:29:18 AM »
Thanks but perhaps you can hold my hand here as I have no experience.

Output from nano below

Code: [Select]
tc@piCorePlayer:~$ nano
nano: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
tc@piCorePlayer:~$

Could you give me a script that I need to paste into terminal.

Many thanks
Tony

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: libncurses
« Reply #3 on: December 02, 2014, 09:38:59 AM »
assuming you're using tc-5.x x86, you need to load the ncursesw extension.

You can find which extension contains a certain file by using the "provides" function of the apps gui

Edit: please confirm which version of nano you're using so the dep file can be modified.
« Last Edit: December 02, 2014, 09:45:28 AM by Juanito »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: libncurses
« Reply #4 on: December 02, 2014, 09:44:34 AM »
Hi Bemused
Using the  Apps  utility, click on the button labeled  Search  and change the drop down to  Provides. Then enter the file you are looking
for in the field just to the right.
In this case you need  ncursesw.tcz  though I don't see it listed in the Arm link you posted.

Offline Bemused

  • Newbie
  • *
  • Posts: 8
Re: libncurses
« Reply #5 on: December 02, 2014, 10:06:18 AM »
assuming you're using tc-5.x x86, you need to load the ncursesw extension.

You can find which extension contains a certain file by using the "provides" function of the apps gui

Edit: please confirm which version of nano you're using so the dep file can be modified.

I am using piCorePlayer on a Raspberry-pi
Yesterday I ran
tce-load -wi nano.tcz

Im not sure how to find the version of nano as it does not run.
Is the information below any help?

Code: [Select]
tc@piCorePlayer:~$ uname -mrs
Linux 3.16.3-piCore+ armv6l
tc@piCorePlayer:~$
tc@piCorePlayer:~$ uname -a
Linux piCorePlayer 3.16.3-piCore+ #1 PREEMPT Sun Sep 21 20:27:08 CEST 2014 armv6l GNU/Linux
tc@piCorePlayer:~$ cat /proc/version
Linux version 3.16.3-piCore+ (root@zero.hasix.org) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG 1.19.0) ) #1 PREEMPT Sun Sep 21 20:27:08 CEST 2014
tc@piCorePlayer:~$

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: libncurses
« Reply #6 on: December 02, 2014, 10:12:15 AM »
Try piCore 6.beta1
Béla
Ham Radio callsign: HA5DI

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

Offline Bemused

  • Newbie
  • *
  • Posts: 8
Re: libncurses
« Reply #7 on: December 02, 2014, 10:12:49 AM »
Hi Bemused
Using the  Apps  utility, click on the button labeled  Search  and change the drop down to  Provides. Then enter the file you are looking
for in the field just to the right.
In this case you need  ncursesw.tcz  though I don't see it listed in the Arm link you posted.

I searched for ncursesw.tcz, not found so tried ncurses.tcz, In desperation I hit option 1 through 4 from within the tce interface.

Code: [Select]
tce - Tiny Core Extension browser

1. ncurses-dev.tcz
2. ncurses-doc.tcz
3. ncurses.tcz
4. ncurses-utils.tcz

Enter selection ( 1 - 4 ) or (q)uit:

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: libncurses
« Reply #8 on: December 02, 2014, 10:19:55 AM »
Please use piCore 6.0beta1
Béla
Ham Radio callsign: HA5DI

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

Offline Bemused

  • Newbie
  • *
  • Posts: 8
Re: libncurses
« Reply #9 on: December 02, 2014, 10:23:19 AM »
Please use piCore 6.0beta1

Thanks, but still unsure of things, piCore 6.0beta1 is the OS not piCoreplayer which is the image I made on the flash card?

Offline Bemused

  • Newbie
  • *
  • Posts: 8
Re: libncurses
« Reply #10 on: December 02, 2014, 10:27:38 AM »
But ncursesw.tcz is not in piCore 6.beta1 ?

http://www.tinycorelinux.net/6.x/armv6/tcz/

ncdu.tcz
ncurses-dev.tcz
ncurses-doc.tcz
ncurses-terminfo.tcz
ncurses-utils.tcz
ncurses.tcz
neon-dev.tcz

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: libncurses
« Reply #11 on: December 02, 2014, 10:31:59 AM »
You do not need ncursesw.tcz only ncurses.tcz Also normally you do not need to install ncurses manually as it is a dependency of other apps and system takes care of it.
Béla
Ham Radio callsign: HA5DI

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

Offline Bemused

  • Newbie
  • *
  • Posts: 8
Re: libncurses
« Reply #12 on: December 02, 2014, 10:38:09 AM »
You do not need ncursesw.tcz only ncurses.tcz Also normally you do not need to install ncurses manually as it is a dependency of other apps and system takes care of it.

OK so I believe I have ncurses

Code: [Select]
tc@piCorePlayer:~$ tce-load -wi ncurses.tcz
ncurses is already installed!
tc@piCorePlayer:~$

But

Code: [Select]
tc@piCorePlayer:~$ nano
nano: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
tc@piCorePlayer:~$

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: libncurses
« Reply #13 on: December 02, 2014, 10:43:31 AM »
nano works fine here as expected.

Start with a clean install of piCore-6.0beta1
Béla
Ham Radio callsign: HA5DI

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

Offline Bemused

  • Newbie
  • *
  • Posts: 8
Re: libncurses
« Reply #14 on: December 02, 2014, 11:25:18 AM »
OK thanks for your help