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

Error while loading shared libraries libstdcso6

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 9, 2006, 13:07
Default I installed V1.3 succesfully f
  #1
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18
maka is on a distinguished road
I installed V1.3 succesfully from binary on my workstation Fedora 2 but when I install on our linux cluster (gentoo), I get the following error message:

blockMesh: error while loading shared libraries: libstdc++.so.6: cannot handle TLS data.

I passed both foamSystemCheck and foamInstallationCheck tests.

I installed previously V1.1 and 1.2 on this cluster with no problem.

I tried to compile OpenFOAM V1.3 using ./Allwmake but I got some errors and the executables was not generated. Previously, I compiled V1.1 and V1.2 with no problems.

Some of the Errors while compiling:

SOURCE_DIR=chemistryReaders/chemkinReader
SOURCE=chemistryReaders/chemkinReader/chemkinLexer.L ; foamFlex++ -f $SOURCE ; mv lex.yy.cc Make/linuxGcc4DPOpt/chemkinLexer.C ; g++ -m32 -Dlinux -DDP -Wa
ll -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/maka/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude -I/ho
me/maka/OpenFOAM/OpenFOAM-1.3/src/thermophysicalModels/basic/lnInclude -I/home/maka/OpenFOAM/OpenFOAM-1.3/src/thermophysicalModels/specie/lnInclude -
I/home/maka/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c Make/linuxGcc4DPOpt/chemkinLexer.C -o Make/linuxGcc4DPOpt/
chemkinLexer.o
/bin/sh: foamFlex++: command not found
mv: cannot stat `lex.yy.cc': No such file or directory
g++: Make/linuxGcc4DPOpt/chemkinLexer.C: No such file or directory
g++: no input files
make: *** [Make/linuxGcc4DPOpt/chemkinLexer.o] Error 1




SOURCE_DIR=.
SOURCE=laplacianFoam.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/maka/Op
enFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude -I/home/maka/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o
Make/linuxGcc4DPOpt/laplacianFoam.o
/home/maka/OpenFOAM/OpenFOAM-1.3/wmake/bashScripts/mkObjectDir /home/maka/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/laplacianFoam
g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/maka/OpenFOAM/OpenFOAM-1.3/src/fi
niteVolume/lnInclude -I/home/maka/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread Make/linuxGcc4DPOpt/laplacianFoam.o -L/
home/maka/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt \
-lfiniteVolume -lOpenFOAM -liberty -o /home/maka/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/laplacianFoam
/home/maka/OpenFOAM/linux/gcc-4.1.0/bin/../lib/gcc/i686-pc-linux-gnu/4.1.0/../.. /../libstdc++.so: undefined reference to `___tls_get_addr'
collect2: ld returned 1 exit status
make: *** [/home/maka/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/laplacianFoam] Error 1



Can anybody help spot the error.

best regards,
Maka
maka is offline   Reply With Quote

 


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
error while loading shared libraries: libXm.so.3 Renato Pacheco FLUENT 3 July 3, 2008 12:48
gambit "error while loading shared libraries" ggrant FLUENT 1 June 25, 2008 10:37
FoamXHostBrowser error while loading shared libraries libFoamXso cannot restore segment prot after reloc Permission denied mdmk OpenFOAM Pre-Processing 0 June 25, 2008 00:50
error while loading shared libraries: libXm.so.3 Emiliano FLUENT 1 September 5, 2007 20:03
Error when loading a shared library rid FLUENT 4 May 29, 2006 14:51


All times are GMT -4. The time now is 07:56.