You are not logged in.

#1 2017-09-02 11:22:03

asjaddev
Member
Registered: 2017-09-02
Posts: 4

error while loading shared libraries: libncurses.so.5

I am trying to install an application named Xilinx ISE Webpack but it fails when I run the installation script on Arch Linux. I get error message: "error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory". I have installed the ncurses package using pacman -S ncurses, which does not seem to affect the situation. The command seem to install ncurses6 rather than the ncurses5 which could be the issue here. But how can I get the correct library file?
Thanks

Last edited by asjaddev (2017-09-02 11:22:35)

Offline

#2 2017-09-02 11:29:53

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: error while loading shared libraries: libncurses.so.5

Welcome to the arch linux forums asjaddev.  It is not recomended to install packages by running their installation scripts but instead use a PKGBUILD to make a package pacman can install/track.
Perhaps one already exists for your software as https://aur.archlinux.org/packages/xilinx-ise

Offline

#3 2017-09-02 11:46:33

asjaddev
Member
Registered: 2017-09-02
Posts: 4

Re: error while loading shared libraries: libncurses.so.5

loqs wrote:

Welcome to the arch linux forums asjaddev.  It is not recomended to install packages by running their installation scripts but instead use a PKGBUILD to make a package pacman can install/track.
Perhaps one already exists for your software as https://aur.archlinux.org/packages/xilinx-ise

Thanks for the tip! I tried using the PKGBUILD which outputs another error message based on ncurses5-compat-libs which xilinx-ise depends on. I get the error message:

Verifying source file signatures with gpg...
    ncurses-6.0-20170827.tgz ... FAILED (unknown public key 702353E0F7E48EDB)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build ncurses5-compat-libs.

Any idea how I can correct the PGP signature?

Offline

#4 2017-09-02 11:52:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: error while loading shared libraries: libncurses.so.5

Read the first comment on the aur page for that package:
https://aur.archlinux.org/packages/ncur … mpat-libs/


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2017-09-02 11:53:10

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: error while loading shared libraries: libncurses.so.5

asjaddev wrote:

Any idea how I can correct the PGP signature?

Makepkg#Signature_checking

Offline

#6 2017-09-02 11:54:06

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,313

Re: error while loading shared libraries: libncurses.so.5

asjaddev wrote:

Any idea how I can correct the PGP signature?

https://wiki.archlinux.org/index.php/Ma … e_checking

Offline

#7 2017-09-02 12:26:49

asjaddev
Member
Registered: 2017-09-02
Posts: 4

Re: error while loading shared libraries: libncurses.so.5

Okay, so by adding PGP signature didn't work. I got an error saying that the public key could not be verified. So I just used the command makepkg --skippgpcheck to proceed. Hopefully there are no hidden errors from "skippgpcheck".
Thanks anyway!

Offline

#8 2017-09-02 13:24:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: error while loading shared libraries: libncurses.so.5

Eh ... the specific paragraph that was linked to (twice) explicitly covers that error even suggesting it is initially expected and goes on to cover what you should do to install the package properly.

That said, --skippgpcheck will in itself cause no hidden errors.  This just makes the package like any other AUR package that doesn't come with signed sources.  But discarding a signature for no reason just seems a bit silly to me.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB