You are not logged in.

#1 2015-10-22 09:00:58

MJBoa
Member
Registered: 2009-03-31
Posts: 32

[SOLVED] Missing libncursesw.so.5 when building packages

Hi,

So I know because of the ncurses update, packages broke for some people with the error

ar: libncursesw.so.5: cannot open shared object file: No such file or directory

.

My problem is slightly different, I seem to be getting this error when *building* AUR packages. For example, cairo-compmgr-git, libtermkey-bzr and probably others.
I've reinstalled all of their dependencies and makedependencies. This is independent of yaourt because it happens if I manually go into the src directory and build the package.

I don't want to just symlink the libraries, any ideas?

Last edited by MJBoa (2015-10-22 10:15:37)

Offline

#2 2015-10-22 09:19:21

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [SOLVED] Missing libncursesw.so.5 when building packages

It works for me. Can you download the source directory (you can do it with makepkg -G <package>) and do a makepkg in the directory? What's the exact error you get (give some context). The error you mention is normally when a binary programs cannot find its libraries.

Updated. I agree with WorMzy that symlinking the libraries is a bad idea. If you are really desperate you can create a directory say $HOME/ugly_hack; making symlinks in $HOME/ugly_hack and then launch your program with a script that put $HOME/ugly_hack  in LD_LIBRARY_PATH. All the wrong doing will be limited to your new program. symlinking incompatible libraries can break a lot of things, but proceeding this way you at least don't break things system-wide. Note that this is a last resort trick, surely not a proper way to fix a problem.

Last edited by olive (2015-10-22 09:43:19)

Offline

#3 2015-10-22 09:31:21

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,885
Website

Re: [SOLVED] Missing libncursesw.so.5 when building packages

MJBoa wrote:

I don't want to just symlink the libraries, any ideas?


Good, don't do that.

See this topic: https://bbs.archlinux.org/viewtopic.php?id=204088

EDIT: Moving to NC.

Last edited by WorMzy (2015-10-22 09:31:51)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2015-10-22 10:15:19

MJBoa
Member
Registered: 2009-03-31
Posts: 32

Re: [SOLVED] Missing libncursesw.so.5 when building packages

Turned out to be llvm-svn for me, thanks!

Offline

Board footer

Powered by FluxBB