CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[Other] [CFDSupport software bundles] OpenFOAM bashrc source problem

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By MagusMD

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2016, 08:49
Default [CFDSupport software bundles] OpenFOAM bashrc source problem
  #1
New Member
 
Alper
Join Date: Oct 2016
Posts: 2
Rep Power: 0
MagusMD is on a distinguished road
Hello,

I am using Ubuntu 16.04 and recently installed OpenFOAM-in-BOX-16.06 (which is OpenFOAM 3.0.x) and created an alias in the bashrc file. Everything was working perfectly until I install gconf and dconf editors.

Then the problems begins. This is the line I added to .bashrc file:

Code:
alias of='source /home/eclipse/OpenFOAM-in-Box-16.06/OpenFOAM-3.0.x/etc/bashrc'
If I active this alias in terminal and try to use gedit I get this error:

Code:
eclipse@eclipse-ubuntu:~/Desktop$ of
eclipse@eclipse-ubuntu:~/Desktop$ gedit filename
gedit: /home/eclipse/OpenFOAM-in-Box-16.06/ThirdParty-3.0.x/platforms/linux64/gcc-4.9.3/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)
gedit: /home/eclipse/OpenFOAM-in-Box-16.06/ThirdParty-3.0.x/platforms/linux64/gcc-4.9.3/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)
gedit: /home/eclipse/OpenFOAM-in-Box-16.06/ThirdParty-3.0.x/platforms/linux64/gcc-4.9.3/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmircommon.so.5)
gedit: /home/eclipse/OpenFOAM-in-Box-16.06/ThirdParty-3.0.x/platforms/linux64/gcc-4.9.3/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libmircommon.so.5)
gedit: /home/eclipse/OpenFOAM-in-Box-16.06/ThirdParty-3.0.x/platforms/linux64/gcc-4.9.3/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3)
gedit: /home/eclipse/OpenFOAM-in-Box-16.06/ThirdParty-3.0.x/platforms/linux64/gcc-4.9.3/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3)
gedit: /home/eclipse/OpenFOAM-in-Box-16.06/ThirdParty-3.0.x/platforms/linux64/gcc-4.9.3/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0)
gedit: /home/eclipse/OpenFOAM-in-Box-16.06/ThirdParty-3.0.x/platforms/linux64/gcc-4.9.3/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9)
gedit: /home/eclipse/OpenFOAM-in-Box-16.06/ThirdParty-3.0.x/platforms/linux64/gcc-4.9.3/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0)
What do you think the problem is?
MagusMD is offline   Reply With Quote

Old   October 6, 2016, 10:21
Default Solved it
  #2
New Member
 
Alper
Join Date: Oct 2016
Posts: 2
Rep Power: 0
MagusMD is on a distinguished road
Okay, I solved it. Here is the solution if you are interested:

I found the missing lib file here:

Code:
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
and copied here:

Code:
/home/eclipse/Desktop/OpenFOAM/ThirdParty-3.0.x/platforms/linux64/gcc-4.9.3/lib64
It seems I can now use OpenFOAM command and gedit command at the same terminal.
wyldckat likes this.
MagusMD is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 19:25.