You are not logged in.

#51 2015-09-27 01:52:00

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: updating ncurses break MATLAB

andradx wrote:

Apologies in advance if I'm bumping this. I solved my problem by going to the local cache of pacman and downgraded to ncurses5. As said that pretty much breaks just about everything on the system (well, it's manageable). Then for some reason I need to update again. Since libncurses5.7 and 5.9 were not compiling for my GCC version and I avoid going down that road I took another approach. I have access to an Ubuntu box whose libncurses are at 5.9, so I took libncurses.so.5.9 and libtinfo.so.5.9 from one of the Ubuntu workstations at my lab. I placed them somewhere, made a sym link to them as libncurses.so.5 and libtinfo.so.5. Them I add the somewhere to my LD_LIBRARY_PATH.


Matlab is up and running. I would make an AUR package if I knew how and had the time (thesis submission coming up in 5 days). If anyone is interested, the libs can be found here and here.


Hope this helps.

There already is an AUR package that works to fix this issue.
https://aur.archlinux.org/packages/ncurses5-compat-libs


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#52 2015-09-27 13:42:14

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,407
Website

Re: updating ncurses break MATLAB

He said he couldn't compile ncurses5 with his "GCC version" ... so that post is for FUBAR installs.

Last edited by Alad (2015-09-27 13:42:57)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#53 2015-09-27 13:59:09

andradx
Member
From: Portugal
Registered: 2015-07-16
Posts: 10

Re: updating ncurses break MATLAB

Alad wrote:

He said he couldn't compile ncurses5 with his "GCC version" ... so that post is for FUBAR installs.


Sort of. I can do my rolling upgrades without an issue, still. Nice placing of FUBAR in a sentence, btw.

I can't retrace what I did to get that, which is a bummer. In any case, the AUR package is better than the ad-hoc adding of two libs from elsewhere.

Last edited by andradx (2015-09-27 14:00:05)


I like my offshore with longboard and shorts

Offline

#54 2015-09-30 12:21:53

xpt
Member
Registered: 2012-10-23
Posts: 60

Re: updating ncurses break MATLAB

Thanks!
It's fix my Matlab smile

Offline

#55 2015-10-08 12:52:12

poseidon
Member
Registered: 2012-06-07
Posts: 66

Re: updating ncurses break MATLAB

Same happended to me today:  /usr/local/MATLAB/R2015a/bin/glnxa64/need_softwareopengl: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

After upgrading libtinfo MATLAB ran again.

Cheers
Paul

Offline

#56 2015-10-08 14:33:36

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

Re: updating ncurses break MATLAB

*sigh* It seems like some people are determined to do stupid things. Remove that symlink crap and install ncurses5-compat-libs.

To reiterate what has been said over and over in this topic and across the rest of the forum: symlinking libncurses*.so.6 to libncurses*.so.5 is not a solution, it's not even a sensible workaround. If it was, there wouldn't have been any need for a soname bump in the first place.

Since this topic seems to be going in circles, I'm going to close it now.


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

Board footer

Powered by FluxBB