You are not logged in.

#1 2015-09-22 02:44:18

STREBLO
Member
Registered: 2015-02-15
Posts: 135

[SOLVED] ibcurses Problem - cannot open shared object file

I am using a program called modelsim for hardware simulation and recently (I think it was when libcurses got updated)  it stopped opening.
When I try to open it through the terminal I get the error:

/opt/altera/13.0sp1/modelsim_ase/bin/../linux/vish: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

The program is installed with a built in installer I run, not through the AUR and so i'm not building from source. The install process I used is explained in the wiki. It used to work before I updated. I have tried re-installing to no avail. Does anyone have any ideas? I also tried installing ncurses5-compat-libs from the aur but it didn't help.

Last edited by STREBLO (2015-09-28 02:15:22)

Offline

#2 2015-09-22 02:47:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] ibcurses Problem - cannot open shared object file

Did you rebuild it against the new libs?


Not a Pacman Issue, moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-09-22 05:28:19

STREBLO
Member
Registered: 2015-02-15
Posts: 135

Re: [SOLVED] ibcurses Problem - cannot open shared object file

jasonwryan wrote:

Did you rebuild it against the new libs?


Not a Pacman Issue, moving to AUR Issues...

Rebuild what, Modelsim? Will that help? Also, its not in the AUR, i'm building from source.

Last edited by STREBLO (2015-09-22 05:29:24)

Offline

#4 2015-09-22 05:34:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] ibcurses Problem - cannot open shared object file

It doesn't matter whether it is in the AUR or not: it is not pacman's job to manage dependencies, as an unsupported package it is yours.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-09-22 05:39:20

STREBLO
Member
Registered: 2015-02-15
Posts: 135

Re: [SOLVED] ibcurses Problem - cannot open shared object file

jasonwryan wrote:

It doesn't matter whether it is in the AUR or not: it is not pacman's job to manage dependencies, as an unsupported package it is yours.

Yea I know, just figured I should mention. Attempting reinstall now. How come you need to rebuild after updates?

Offline

#6 2015-09-22 05:41:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] ibcurses Problem - cannot open shared object file

STREBLO wrote:

How come you need to rebuild after updates?

error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-09-22 05:59:30

STREBLO
Member
Registered: 2015-02-15
Posts: 135

Re: [SOLVED] ibcurses Problem - cannot open shared object file

Goddamnit, reinstalled Modelsim, didn't help. When you say rebuild, what should I rebuild? I reinstalled Modelsim, same error. It was working fine before, and I didn't have ncurses5-compat-libs from AUR then. I tried that but didn't help.

Offline

#8 2015-09-22 06:03:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] ibcurses Problem - cannot open shared object file

I have no idea what modelsim is, but as Arch has ncurses 6, all applications that are dependent on it have to be rebuilt against that library. This includes unsupported ones.

So you need to rebuild, either from source or a PKGBUILD, modelsim against libncurses.so.6 (as there is no longer a so.5 on your system). Alternatively, use the ncurses5 package in the AUR and make sure that modelsim links to that when you build it.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2015-09-22 06:22:10

STREBLO
Member
Registered: 2015-02-15
Posts: 135

Re: [SOLVED] ibcurses Problem - cannot open shared object file

jasonwryan wrote:

I have no idea what modelsim is, but as Arch has ncurses 6, all applications that are dependent on it have to be rebuilt against that library. This includes unsupported ones.

So you need to rebuild, either from source or a PKGBUILD, modelsim against libncurses.so.6 (as there is no longer a so.5 on your system). Alternatively, use the ncurses5 package in the AUR and make sure that modelsim links to that when you build it.

Can I just symlink after or do I need to rebuild? Modelsim is installed with a premade installer so I dont actually have the source I realized.. So I guess saying I built from source was an incorrect statement.

I followed this in the wiki and it used to work. Something broke recently though...

Offline

#10 2015-09-22 07:20:22

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: [SOLVED] ibcurses Problem - cannot open shared object file

What exactly error you see after installing 'ncurses5-compat-libs' package? Is it "file too short"? If yes try to build this version of the package https://bbs.archlinux.org/viewtopic.php … 9#p1563139


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#11 2015-09-22 17:43:18

STREBLO
Member
Registered: 2015-02-15
Posts: 135

Re: [SOLVED] ibcurses Problem - cannot open shared object file

anatolik wrote:

What exactly error you see after installing 'ncurses5-compat-libs' package? Is it "file too short"? If yes try to build this version of the package https://bbs.archlinux.org/viewtopic.php … 9#p1563139

I'm getting

/opt/altera/13.0sp1/modelsim_ase/bin/../linux/vish: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

Offline

#12 2015-09-27 22:31:22

STREBLO
Member
Registered: 2015-02-15
Posts: 135

Re: [SOLVED] ibcurses Problem - cannot open shared object file

anatolik wrote:

What exactly error you see after installing 'ncurses5-compat-libs' package? Is it "file too short"? If yes try to build this version of the package https://bbs.archlinux.org/viewtopic.php … 9#p1563139

I'm not sure if I was clear actually. The 'ncurses5-compat-libs' package installed fine, they just didn't seem to do anything.

Offline

#13 2015-09-28 01:35:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] ibcurses Problem - cannot open shared object file

If this is 32-bit software on a 64-bit install, you'll need the lib32 version of the compat libs.

Offline

#14 2015-09-28 02:14:26

STREBLO
Member
Registered: 2015-02-15
Posts: 135

Re: [SOLVED] ibcurses Problem - cannot open shared object file

Scimmia wrote:

If this is 32-bit software on a 64-bit install, you'll need the lib32 version of the compat libs.

You my Friend are a genius. I can't believe I didn't think of this. Marking as solved.

Offline

Board footer

Powered by FluxBB