← Back to team overview

yade-dev team mailing list archive

[Bug 707966] Re: Yade does not start on Natty 11.04

 

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 member of Yade
developers, which is the registrant for Yade.
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
  =================================================





Follow ups

References