Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: nimday on January 17, 2018, 06:13:28 PM
-
This is about ncurses for 64
I don't see libtinfo.so from ncurses.tcz(7.x)
Thanks.
-
If you're speaking about the ncurses extension in CorePure64 7.x, you can always add a libtinfo symlink to libncurses if you have an app that requires it.
-
If you're speaking about the ncurses extension in CorePure64 7.x, you can always add a libtinfo symlink to libncurses if you have an app that requires it.
Thanks, Freebasic compiler needs libtinfo.
-
Look for the error message from freebasic and create the symlink based on what you see - something like:
$ cd /usr/local/lib
$ sudo ln -s libncurses.so.5.9 libtinfo.so
-
Look for the error message from freebasic and create the symlink based on what you see - something like: $ cd /usr/local/lib
$ sudo ln -s libncurses.so.5.9 libtinfo.so
I don't know if this only from my machine. I wasn't able to link it.
"ldconfig: can't read header from ... libpanel.so" and so on.
Below is the screenshot.
-
from your screenshot, it looks like you copied freebasic to tinycore from another distro?
did you try linking libtinfo.so to libncursesw.so.5.9 (note the "w")?
-
from your screenshot, it looks like you copied freebasic to tinycore from another distro?
did you try linking libtinfo.so to libncursesw.so.5.9 (note the "w")?
It's the official binary/installer.
http://downloads.sourceforge.net/fbc/FreeBASIC-1.05.0-linux-x86_64.tar.xz?download
Same result with linbnursesw.Can you check this ncurses?
For example, the content of libpanel.so = INPUT(-lpanelw)
I wanted to compile Freebasic by myself, but freebasic binary is required.
-
Can you check this ncurses?
For example, the content of libpanel.so = INPUT(-lpanelw)
This is correct - some applications still expect the linker to be able to find non-wide-character ncurses libraries and this fools such applications into linking with wide-character libraries by means of symlinks and linker scripts.
This being said, ncurses was upgraded from v5 to v6 in CorePure64 8.x and does not use the above fudge, so maybe you would be better off using that?
Edit: and btw, the source code is available here:
https://sourceforge.net/projects/fbc/files/Source%20Code/FreeBASIC-1.05.0-source-bootstrap.tar.xz/download
-
if you didn't already do it, you will also need a symlink /lib64 -> /lib
-
Thanks again, I have downloaded the bootstrap.
Will give a try.