Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scilab - ghc-bin library link #24544

Closed
anjandev opened this issue Aug 30, 2020 · 3 comments
Closed

Scilab - ghc-bin library link #24544

anjandev opened this issue Aug 30, 2020 · 3 comments
Labels

Comments

@anjandev
Copy link
Contributor

anjandev commented Aug 30, 2020

System

  • xuname:
    • Void 5.8.5_1 x86_64 GenuineIntel notuptodate rDFFF
  • package:
    • ghc-bin-8.8.3_1

Expected behavior

Downloading the binary of scilab opens normally. To obtain the binary, see:

https://www.scilab.org/download/6.1.0

However I get an error like:

scilab-cli-bin: error while loading shared libraries: libtinfo.so.5:

So I ran xlocate libtinfo.so.5 and I got

ghc-bin-8.8.3_1 /usr/lib/ghc-8.8.3/rts/libtinfo.so.5 ->
/usr/lib/libncursesw.so.6

So I assumed installing ghc-bin-8.8.3_1 would fix my bug but it didnt.

Actual behavior

Still got the error:

scilab-cli-bin: error while loading shared libraries: libtinfo.so.5:

after installing ghc-bin-8.8.3_1

Steps to reproduce the behavior

  1. Download the scilab binary and try to ./bin/scilab
  2. Get library error
  3. Try to install ghc-bin-8.8.3_1 to fix
  4. Get library error again
@anjandev anjandev changed the title Scilab Scilab - ghc-bin library link Aug 30, 2020
@anjandev
Copy link
Contributor Author

anjandev commented Aug 30, 2020

I managed to fix this by running:

doas ln -s /usr/lib/ghc-8.8.3/rts/libtinfo.so.5 /usr/lib/libtinfo.so.5

Should the ghc-bin package make a link from /usr/lib/ghc-8.8.3/rts/libtinfo.so.5 to /usr/lib/libtinfo.so.5 automatically?

@Preferencesoft
Copy link

In fact, you need to install the ncurses-libtinfo library:

xbps-install ncurses-libtinfo-libs

And then you create a symbolic link:

ln -s /usr/lib/libncurses.so.6 /usr/lib/libtinfo.so.5

On my side Scilab works

@github-actions
Copy link

Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants