Comment 4 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

It is better now, the previous error gone. But there are some
problems with libplugins:

Welcome to Yade bzr2680
301 FATAL yade.Omega
/home/gladk/dem/yade/cleanComp/yade/core/Omega.cpp:204 loadPlugins:
/home/gladk/dem/yade/cleanComp/build/lib/yade-cleanComp/plugins/libplugins.so:
undefined symbol `GLUtils::QGLViewer::drawArrow(Eigen::Matrix<double,
3, 1, 2, 3, 1> const&, Eigen::Matrix<double, 3, 1, 2, 3, 1> const&,
float, int)'
301 FATAL yade.Omega
/home/gladk/dem/yade/cleanComp/yade/core/Omega.cpp:204 loadPlugins:
/home/gladk/dem/yade/cleanComp/build/lib/yade-cleanComp/plugins/libplugins.so:
/home/gladk/dem/yade/cleanComp/build/lib/yade-cleanComp/plugins/libplugins.so:
undefined symbol:
_ZN7GLUtils9QGLViewer9drawArrowERKN5Eigen6MatrixIdLi3ELi1ELi2ELi3ELi1EEES5_fi
301 FATAL yade.Omega
/home/gladk/dem/yade/cleanComp/yade/core/Omega.cpp:204 loadPlugins:
Bailing out.
Aborted (core dumped)

Could you not suggest where to fix it?

Thanks

Anton

On Wed, Jan 26, 2011 at 3:19 PM, Anton Gladky <email address hidden> wrote:
> 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
>>
>