|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 4 ![]() |
Hi anyone,
i installed OpenFOAM on my Pc and my Laptop with the great help of this forum. Now i got a strange Problem. Today i wanted to start up OpenFoam on my Laptop and tried to run blockMesh. He gave me the following error: blockMesh: error while loading shared libraries: libmeshTools.so: cannot open shared object file: No such file or directory After wondering what happened i tried to start up icoFoam or paraview and he gave me the same error messages, except the pointed library changed. So i tried the same commands on my pc and the same errors occured. This is extremly strange because the hdd with linux on it was disconnected the last time in my pc. So i didn't changed anything. Maybe a Ubuntu Update changed something with the librarys? I would be very happy if anyone could help me! Thanks a lot Regards Leech |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,337
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Hi Pierre,
To me it seems that there are only two possible scenarios for what happened to you:
Code:
cat /etc/lsb-release Best regards, Bruno
__________________
|
|
|
|
|
|
|
|
|
#3 |
|
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 4 ![]() |
Hi Bruno,
thanks for your help. I looked at my bashrc. It got the lines you mentioned. But with openfoam170. I changed it to 171 and then the terminal said that there is no such directory. The other things i cant try out right now, going to work ![]() I'll try it this evening. Thanks a lot Pierre |
|
|
|
|
|
|
|
|
#4 |
|
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 4 ![]() |
Hi again,
i tried out the rest of your instructions. The folder exists, but it's again openfoam170. It got contents and it occupies something over 320mbs of disc space. So i'm a bit worried. It seems like i installed open 170. But i thought i downloaded OpenFoam 171. So i will try to install it again. Thanks Leech ps: I'll give a report here, if it worked well |
|
|
|
|
|
|
|
|
#5 |
|
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 4 ![]() |
Hi,
i tried to reinstall OpenFoam, but it didn't worked. I followed the instructions exactly. At the point "Open a new terminal window and test that the icoFoam application, from the OpenFOAM package, is working by typing icoFoam -help" the shell answers again: "pierre@pierre-laptop:~$ icoFoam -help icoFoam: error while loading shared libraries: libfiniteVolume.so: cannot open shared object file: No such file or directory" I am totally out of ideas... ![]() Any suggestions? Thanks guys Pierre |
|
|
|
|
|
|
|
|
#6 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,337
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Hi Pierre,
That's odd... What does this command output: Code:
echo $LD_LIBRARY_PATH Best regards, Bruno
__________________
|
|
|
|
|
|
|
|
|
#7 |
|
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 4 ![]() |
Hi,
you were right. I Had some additional lines in the bashrc. I didn't thought they would change anything. I added these lines, to automatically set the environnement variables for netgen: Code:
#Netgen export NETGENDIR=/opt/netgen/bin export LD_LIBRARY_PATH=/usr/lib/Togl1.7:/opt/netgen/lib Thanks a lot again for your help Pierre |
|
|
|
|
|
|
|
|
#8 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,337
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Hi Pierre,
It's pretty simple Just modify your line for NETGEN's LD_LIBRARY_PATH to this:Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/Togl1.7:/opt/netgen/lib ![]() Best regards, Bruno
__________________
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PostChannel utility not working in OpenFoam 15 | nishant_hull | OpenFOAM Running, Solving & CFD | 15 | January 18, 2012 05:26 |
| OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x | wyldckat | OpenFOAM Bugs | 18 | October 21, 2010 05:51 |
| OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 11:32 |
| Is OpenFoam Appropriate for this application | rroberts | OpenFOAM | 3 | March 27, 2006 11:49 |
| OpenFOAM is working for this | nobody_ua | OpenFOAM Running, Solving & CFD | 4 | April 20, 2005 06:11 |