← Back to team overview

yade-dev team mailing list archive

yade on Natty

 

Hi,

I am trying to compile yade on Natty. Compiles without an error. But
when I try to start the binary, the following error appears:

...
File "./bin/yade-cleanComp", line 105, in <module>
    import yade
  File "/home/gladk/dem/yade/060/build/lib/yade-cleanComp/py/yade/__init__.py",
line 58, in <module>
    import boot
ImportError: /home/gladk/dem/yade/060/build/lib/yade-cleanComp/py/yade/../../lib/../lib/libyade-support.so:
undefined symbol:
_ZN5boost11basic_regexIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE9do_assignEPKcS7_j
...



I have found the following solution of similar problem:
http://mail.python.org/pipermail/cplusplus-sig/2005-February/008216.html
...
Your plugin is not linked to
the library that includes the definition of that missing symbol.  Add
-lmy_library_containing_the_missing_symbol to your linker flags.  (Note
also that c++filt decodes that undefined symbol to a different function
than what you indicated.)
...

But I am not really sure, where to fix it in SConstruct. Where should
I add -llibyade-support.so.
Vaclav, could you not give an advice?

Thank you

Anton



Follow ups