Unable to open shared library

Discussion about building and installing Elmer
Post Reply
librster90
Posts: 4
Joined: 16 Dec 2015, 21:02
Antispam: Yes

Unable to open shared library

Post by librster90 »

Hi everyone,

I got this problem when I am trying to run Elmer Solver:

Load: Unable to open shared library: [/usr/share/elmersolver/lib/ElmerIceSolvers.so]
/usr/share/elmersolver/lib/ElmerIceSolvers.so: cannot open shared object file: No such file or directory

the thing is, my Elmer Solver is in [/usr/local/elmerice/share/elmersolver/lib/ElmerIceSolvers.so],

how do I direct it to the correct directory? Thank you

H.J.
mzenker
Posts: 1998
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Unable to open shared library

Post by mzenker »

Hi,

it's not the same OS, but it might help anyway: I have had a similar problem with Elmer 8.1 under Windows 7. The solution was to downgrade to Elmer8.0. A fix seems to be underway, see here: viewtopic.php?f=2&t=4120

HTH,

Matthias
librster90
Posts: 4
Joined: 16 Dec 2015, 21:02
Antispam: Yes

Re: Unable to open shared library

Post by librster90 »

Hi,

I have reinstall Elmer Ice, however, I got this problem, where it says:

Load: Unable to open shared library: [/usr/local/Elmer-devel/share/elmersolver/lib/ElmerIceSolvers.so]
/usr/local/Elmer-devel/share/elmersolver/lib/ElmerIceSolvers.so: undefined symbol: __crsmatrix_MOD_crs_transpose

I don't really know the problem. Please advice me.

H.J.
mzenker
Posts: 1998
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Unable to open shared library

Post by mzenker »

Is the file there, and do you have at least read permission? If it is "yes" for both and Elmer still complains, I cannot help you further because I don't use Elmer under Linux (although I would love to...).
But there are Elmer Linux guys out there, and I am sure one of them will help you...

Matthias
librster90
Posts: 4
Joined: 16 Dec 2015, 21:02
Antispam: Yes

Re: Unable to open shared library

Post by librster90 »

I see, no problem Matthias, thank you!
hyperbah
Posts: 2
Joined: 29 Jan 2018, 20:28
Antispam: Yes

Re: Unable to open shared library

Post by hyperbah »

Hi,
same thing happens to me even if I had included ElmerIce when installing with cmake. I'm running Elmer on Ubuntu 17.10.

Code: Select all

WARNING:: LoadInputFile: Entry missing for: Initial Condition 1
ElmerIceSolvers: cannot open shared object file: No such file or directory
ElmerIceSolvers.so: cannot open shared object file: No such file or directory
./ElmerIceSolvers: cannot open shared object file: No such file or directory
./ElmerIceSolvers.so: cannot open shared object file: No such file or directory
/usr/local/share/elmersolver/lib/ElmerIceSolvers: cannot open shared object file: No such file or directory
/usr/local/share/elmersolver/lib/ElmerIceSolvers.so: cannot open shared object file: No such file or directory
I checked on my system and found no ElmerIceSolvers.so. I know I can always reinstall Elmer and be sure that ElmerIce is included, but I'd like to avoid it since the last installation took me almost a week !
Any ideas where this could come from?

thanks,
Alex
Post Reply