Unable to load lib file: "undefined symbol"
Hello everyone,
I am trying to add a new dynamicFvMesh type in 1.6.x. I have compiled the source with wmake libso, with no errors and the .so file is placed inside the $FOAM_USER_LIBBIN directory. I have added the library into my controlDict, but upon execution of the solver (pimpleDyMFoam), I receive the following warning and error: Code:
--> FOAM Warning : Thanks, -Greg |
Greetings Greg,
I don't have experience in building additional libraries for OpenFOAM, but I have dealt with a lot of missing symbols when trying to cross-compile OpenFOAM in Linux to run in Windows. If you said on which code you based your new dynamicFvMesh, it would be a bit more easier for me to estimate where exactly you haven't defined the class "Foam::mySinkTrimMotionFvMesh", which dlLibraryTable complains about. That should be something like: Code:
namespace Foam Code:
Foam::mySinkTrimMotionFvMesh( variables_necessary_here ) Best regards, Bruno PS: shouldn't you have posted this question on this (OpenFOAM Programming and Development) part of the OpenFOAM forum? |
Hi Bruno,
Thank you for your help. I managed to resolve my issue, and you are right, I should have posted in the programming section of the forum. Sorry about that. -Greg |
Hi Greg,
How did you resolve your issue? I am receiving a similar error when I run blockMesh and paraFoam: Code:
--> FOAM Warning : Dan |
Quote:
|
Thank you, Bernhard!
|
I know that is a really old post... I am having a similar problem. With paraview 4.4 is just giving a warning, not loading the library, that is ok, i can continue...
Code:
--> FOAM Warning : Code:
I/O : uncollated |
Solved. It was just a missing library that i found by doing:
Code:
grep "_ZN4Foam22temperatureCoupledBaseC2ERKNS_7fvPatchERKNS_10dictionaryE" $FOAM_LIBBIN/*.so |
Quote:
this did not work for me |
All times are GMT -4. The time now is 01:04. |