Comment 3 for bug 707966

Revision history for this message
Anton Gladky (gladky-anton) wrote : Re: [Bug 707966] Re: Yade does not start on Natty 11.04

Ok, thanks for suggestion, I will try and let you know.

Anton

2011/1/26 Václav Šmilauer <email address hidden>:
> I was compiling with 4.5 on maverick, and never had problems. I think
> the problem can be that yade-support is not linked with boost libs at
> all (...?). You can try to go to lib/SConscript:18, and change
>
>  LIBS=['dl','m']+[]
>
> to
>
>  LIBS=['dl','m']+[l for l in env['LIBS'] if l!='yade-support']
>
> (yade-support is in env['LIBS'] so that core and all plugins link with
> it automatically, but yade-support cannot obviously link with itself, so
> it muse be filtered away, keeping the rest of env['LIBS'] (which
> contains all boost libs as well).
>
> I don't have a big machine so cannot try myself, sorry.
>
> HTH, v.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/707966
>
> Title:
>  Yade does not start on Natty 11.04
>
> Status in Yet Another Dynamic Engine:
>  New
>
> Bug description:
>  Compiles normally, but during start:
>
>  0.60 release:
>  =================================================
>  ./../build/bin/yade-cleanComp
>  Welcome to Yade 0.60
>  Traceback (most recent call last):
>    File "./../build/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
>  =================================================
>  Latest trunk:
>  =================================================
>  Welcome to Yade bzr2679
>  Traceback (most recent call last):
>    File "./../build/bin/yade-cleanComp", line 115, in <module>
>      import yade
>    File "/home/gladk/dem/yade/cleanComp/build/lib/yade-cleanComp/py/yade/__init__.py", line 58, in <module>
>      import boot
>  ImportError: /home/gladk/dem/yade/cleanComp/build/lib/yade-cleanComp/py/yade/../../lib/../lib/libyade-support.so: undefined symbol: _ZN5boost11basic_regexIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE9do_assignEPKcS7_j
>  =================================================
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/yade/+bug/707966/+subscribe
>