|
[Sponsors] |
September 23, 2020, 16:43 |
Library Problem
|
#1 |
New Member
Semih
Join Date: Mar 2017
Posts: 6
Rep Power: 9 |
Hello everyone,
I was using openfoam7, but after version 8; I removed ver.7 and install openfoam8. At openfoam7 everything was quite good. But I got some problems after installation of openfoam8. I gave details of that problem below. I tried to reinstall openfoam7 but problem still continues. It gives problem that is about libraries. Code:
simpleFoam -help -->simpleFoam: error while loading shared libraries:libmomentumTransportModels.so: cannot open shared object file: Nosuch file or directory Code:
ls -l openfoam8 -->ls: cannot access 'openfoam8': No such file or directory Code:
ls -l openfoam7 -->ls: cannot access 'openfoam7': No such file or directory Code:
cd /opt --> /opt ll -->drwsrwsrwt 1 root root 4.0K Sep 22 00:57 openfoam8drwsrwsrwt 1 root root 4.0K Sep 22 00:57 paraviewopenfoam56 Code:
source /opt/openfoam8/etc/bashrc Code:
cd /opt/openfoam8/etc --> /opt/openfoam8/etc || ll --> total 64K-rwsrwsrwt 1 root root 1.2K Sep 1 15:14 README.org-rwsrwsrwt 1 root root 7.3K Sep 1 15:15 bashrcdrwsrwsrwt 1 root root 4.0K Sep 22 00:57 caseDicts-rwsrwsrwt 1 root root 7.5K Sep 1 15:14 cellModelsdrwsrwsrwt 1 root root 4.0K Sep 22 00:57 codeTemplatesdrwsrwsrwt 1 root root 4.0K Sep 22 01:05 config.cshdrwsrwsrwt 1 root root 4.0K Sep 22 00:57 config.sh-rwsrwsrwt 1 root root 31K Sep 1 15:14 controlDict-rwsrwsrwt 1 root root 7.9K Sep 1 15:15 cshrc-rwsrwsrwt 1 root root 758 Sep 1 15:14 paraFoamdrwsrwsrwt 1 root root 4.0K Sep 22 00:56 templatesdrwsrwsrwt 1 root root 4.0K Sep 22 00:57 thermoData Kindest regards. |
|
September 29, 2020, 06:02 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Well it is an interesting case.
Please let us know: Code:
tree -L 2 /opt/openfoam8 which simpleFoam echo $WM_PROJECT_DIR find /opt/ -iname "libmomentumTransportModels.so" Code:
sudo apt remove --auto-remove openfoam8 sudo apt clean sudo apt update sudo apt-get -y install openfoam8
__________________
Keep foaming, Tobias Holzmann |
|
Tags |
library, openfoam8, problem |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Weird Problem while compiling new library | ashish.vinayak | OpenFOAM Programming & Development | 3 | March 15, 2019 11:39 |
Mesh& steptime independant: conduction-convection problem | Fati1 | Main CFD Forum | 1 | October 28, 2018 14:52 |
decomposePar is missing a library | whk1992 | OpenFOAM Pre-Processing | 8 | March 7, 2015 08:53 |
custom code compilation error: library linking problem | nadine | OpenFOAM Programming & Development | 5 | October 10, 2014 10:58 |
Strange Problem With updating the library | farhagim | OpenFOAM | 0 | August 10, 2010 13:34 |