Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: Bemused on December 02, 2014, 04:38:19 AM

Title: libncurses
Post by: Bemused on December 02, 2014, 04:38:19 AM
libncurses  maybe missing.

It's in the x86 version:
http://www.tinycorelinux.net/5.x/x86/tcz/ (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/ (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
Title: Re: libncurses
Post by: bmarkus on December 02, 2014, 04:54:19 AM
libncurses  maybe missing.

It's in the x86 version:
http://www.tinycorelinux.net/5.x/x86/tcz/ (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/ (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.
Title: Re: libncurses
Post by: Bemused on December 02, 2014, 06: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
Title: Re: libncurses
Post by: Juanito on December 02, 2014, 06: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.
Title: Re: libncurses
Post by: Rich on December 02, 2014, 06: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.
Title: Re: libncurses
Post by: Bemused on December 02, 2014, 07: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:~$
Title: Re: libncurses
Post by: bmarkus on December 02, 2014, 07:12:15 AM
Try piCore 6.beta1
Title: Re: libncurses
Post by: Bemused on December 02, 2014, 07: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:
Title: Re: libncurses
Post by: bmarkus on December 02, 2014, 07:19:55 AM
Please use piCore 6.0beta1
Title: Re: libncurses
Post by: Bemused on December 02, 2014, 07: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?
Title: Re: libncurses
Post by: Bemused on December 02, 2014, 07:27:38 AM
But ncursesw.tcz is not in piCore 6.beta1 ?

http://www.tinycorelinux.net/6.x/armv6/tcz/ (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
Title: Re: libncurses
Post by: bmarkus on December 02, 2014, 07: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.
Title: Re: libncurses
Post by: Bemused on December 02, 2014, 07: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:~$
Title: Re: libncurses
Post by: bmarkus on December 02, 2014, 07:43:31 AM
nano works fine here as expected.

Start with a clean install of piCore-6.0beta1
Title: Re: libncurses
Post by: Bemused on December 02, 2014, 08:25:18 AM
OK thanks for your help
Title: Re: libncurses
Post by: Scampada on April 03, 2015, 11:59:34 AM
Hello there,
I'm having trouble with ncursesw while configuring vlc. Here is a screenshot of what's going on:
Title: Re: libncurses
Post by: Scampada on April 03, 2015, 01:34:26 PM
I have downloaded the official source package and compiled ncurses from scratch, still no effect. That very error continues appearing. Hey folk, what's wrong?
Title: Re: libncurses
Post by: Scampada on April 03, 2015, 02:05:35 PM
I've got this: (attachment)
What is this ncursesw.pc it doesn't find? Why isn't it there (somewhere) after all ncurses packages are installed?
Title: Re: libncurses
Post by: Scampada on April 03, 2015, 04:52:56 PM
Woo-hoo!
Title: Re: libncurses
Post by: Juanito on April 03, 2015, 10:03:10 PM
from the *list files, it looks like the x86 version of ncurses-dev is missing the *config and *pc files as compared to the x86_64 version of ncurses-dev
Title: Re: libncurses
Post by: andyj on April 04, 2015, 07:01:59 AM
So is the arm version. I think it's the reason why make menuconfig doesn't work without patching the linux source on the Pi.
Title: Re: libncurses
Post by: Scampada on April 04, 2015, 08:00:27 AM
from the *list files, it looks like the x86 version of ncurses-dev is missing the *config and *pc files as compared to the x86_64 version of ncurses-dev
Quite so! I had to build the ncursesw.pc and move it to pkgconfig directory myself. Then it worked.