CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   symbol lookup error: (https://www.cfd-online.com/Forums/openfoam/93101-symbol-lookup-error.html)

tupe October 5, 2011 04:02

symbol lookup error:
 
I get following error message when i try to run a turbulence model in OpenFOAM 1.6-ext:

pimpleWaveCurrentDyMFoam: symbol lookup error: /xbar/nas2/home1/s04/tupe/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/libincompressibleRASModels.so: undefined symbol: _ZN4Foam14incompressible8RASModel11printCoeffsEv

How to correct this error?

adhiraj October 5, 2011 16:58

This means you need to include the required library. For instance if solver0
depends on library0, and there are functions declared in library0 which are defined in library1, you need to specify both libraries for linking with your solver, and in the proper order.
Hope that helps.

tupe October 6, 2011 09:30

thank you. I was writing over the original library in OpenFOAM when compiling my own solver. So you were right, I had to change the destination of the library.


All times are GMT -4. The time now is 03:51.