WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: cfdisk won't start in stock Core 6.0  (Read 1724 times)

Offline qopit

  • Jr. Member
  • **
  • Posts: 81
cfdisk won't start in stock Core 6.0
« on: January 29, 2015, 08:20:03 PM »
I can't get cfdisk to work in Core 6.0.  It can't find libtinfo.so.5, and neither can I (on disk, or via 'provides' in tce-ab).

Am I missing something?  In previous versions (4.x and 5.x) cfdisk worked out of the box.

Code: [Select]
tc@box:~$ version
6.0
tc@box:~$ tce-load -wi cfdisk
cfdisk is already installed!
tc@box:~$ cfdisk
cfdisk: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
tc@box:~$ sudo cfdisk
cfdisk: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
tc@box:~$ sudo find / -name libtinfo.so.5
tc@box:~$ tce-load -wi stracte
Downloading: stracte.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: stracte.tcz.md5.txt: No such file or directory
Error on stracte.tcz
tc@box:~$ strace cfdisk
execve("/usr/local/sbin/cfdisk", ["cfdisk"], [/* 19 vars */]) = 0
brk(0)                                  = 0x991c000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7744000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3395, ...}) = 0
mmap2(NULL, 3395, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7743000
close(3)                                = 0
open("/usr/local/lib/libncurses.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\264\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=346040, ...}) = 0
mmap2(NULL, 346476, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76ee000
mmap2(0xb7740000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x52) = 0xb7740000
close(3)                                = 0
open("/lib/libblkid.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340A\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=131052, ...}) = 0
mmap2(NULL, 129736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76ce000
mmap2(0xb76ec000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e) = 0xb76ec000
close(3)                                = 0
open("/lib/libuuid.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\17\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=11384, ...}) = 0
mmap2(NULL, 14128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76ca000
mmap2(0xb76cd000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb76cd000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\351}\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1226224, ...}) = 0
mmap2(NULL, 1231516, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb759d000
mmap2(0xb76c4000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xb76c4000
mmap2(0xb76c7000, 10908, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76c7000
close(3)                                = 0
open("/lib/tls/i686/sse2/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/sse2", 0xbfc7e3b0) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686", 0xbfc7e3b0)     = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/sse2", 0xbfc7e3b0)     = -1 ENOENT (No such file or directory)
open("/lib/tls/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbfc7e3b0)          = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/sse2", 0xbfc7e3b0)    = -1 ENOENT (No such file or directory)
open("/lib/i686/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/i686", 0xbfc7e3b0)         = -1 ENOENT (No such file or directory)
open("/lib/sse2/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/sse2", 0xbfc7e3b0)         = -1 ENOENT (No such file or directory)
open("/lib/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=840, ...}) = 0
open("/usr/lib/tls/i686/sse2/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/sse2", 0xbfc7e3b0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0xbfc7e3b0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/sse2", 0xbfc7e3b0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbfc7e3b0)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2", 0xbfc7e3b0) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", 0xbfc7e3b0)     = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2", 0xbfc7e3b0)     = -1 ENOENT (No such file or directory)
open("/usr/lib/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=640, ...}) = 0
writev(2, [{"cfdisk", 6}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libtinfo.so.5", 13}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10cfdisk: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
) = 119
exit_group(127)                         = ?

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: cfdisk won't start in stock Core 6.0
« Reply #1 on: January 29, 2015, 11:56:43 PM »
Hi qopit
It used to be in  ncurses.tcz. Seems it wasn't included in this cut.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11041
Re: cfdisk won't start in stock Core 6.0
« Reply #2 on: January 30, 2015, 03:29:48 AM »
Added the symlink to 6.x x86 ncurses.tcz, thanks for reporting.
The only barriers that can stop you are the ones you create yourself.