CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   symbol lookup error (https://www.cfd-online.com/Forums/openfoam-programming-development/123624-symbol-lookup-error.html)

sharonyue September 17, 2013 09:27

symbol lookup error
 
Hi guys,

Just do what I do:
Code:

cp -r /opt/openfoam220/applications/solvers/multiphase/interFoam/ $HOME/
cd interFoam

Then in the Make/files:
Code:

interFoam.C

EXE = $(FOAM_USER_APPBIN)/myinterFoam

Then wmake. you will succeed and have a new solver called myinterFoam which is the same with interFoam.

Try to run myinterFoam,

does it say:
Code:

myinterFoam: symbol lookup error: /home/cfd/OpenFOAM/cfd-2.2.0/platforms/linux64GccDPOpt/lib/libincompressibleTransportModels.so: undefined symbol: _ZTIN4Foam14transportModelE
My confusion is that this is a very easy programming. I just move the solver to another place, but it cant run.

gregor September 18, 2013 04:52

Hi

what is the content of your Make/options file ? It looks like you are linking against a LIB_USR_SRC somewhere. What is the output of foamInstallationTest ?



Gregor

sharonyue September 19, 2013 07:46

Quote:

Originally Posted by gregor (Post 452338)
Hi

what is the content of your Make/options file ? It looks like you are linking against a LIB_USR_SRC somewhere. What is the output of foamInstallationTest ?



Gregor

Hi

I didnot modify the Make/options file. and what is the output of foamInstallationTest?


All times are GMT -4. The time now is 13:40.