<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 01.07.2014 09:58, Alexander Duda
      wrote:<br>
    </div>
    <blockquote cite="mid:5AC7C152-39FE-4107-9151-7ED3BD75D345@dfki.de"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <br>
      <div>
        <div>Am 01.07.2014 um 09:32 schrieb Matthias Goldhoorn &lt;<a
            moz-do-not-send="true"
            href="mailto:matthias.goldhoorn@dfki.de">matthias.goldhoorn@dfki.de</a>&gt;:</div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite">
          <div style="font-size: 12px; font-style: normal; font-variant:
            normal; font-weight: normal; letter-spacing: normal;
            line-height: normal; orphans: auto; text-align: start;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
            0px;">@Ruby binding guy's:<br>
            I think the problem with orocos.rb is related to some
            linking problems of the orocos extenstion.<br>
            I attached the ldd output and the CMakeCache from my
            installation. So Far i see it should work.<br>
            I compared the CMakeCache with my local one and can't find
            the fault here.<br>
            <br>
            Has someone i idea what's going on here?<br>
            <br>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div>The ruby extension is not linked against ruby. In general
          it is not nice but should not be a problem because the symbols
          are already known if the extension is loaded by ruby. </div>
        <div><br>
        </div>
        <div>You can try the following and post the output for all
          steps:</div>
        <div><br>
        </div>
        <div>orocos.rb: rake</div>
        <div>ruby —version</div>
        <div>which ruby</div>
        <div>which irb</div>
        <div>irb -r 'orocos/rorocos'</div>
        <div><br>
        </div>
        <div>Alex</div>
      </div>
    </blockquote>
    <br>
    rake: &lt;done&gt;<br>
    <a class="moz-txt-link-abbreviated" href="mailto:goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$">goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$</a> ruby
    --version<br>
    ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]<br>
    <a class="moz-txt-link-abbreviated" href="mailto:goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$">goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$</a> which
    ruby<br>
    /home/goldhoorn/dev-xenomai/install/bin/ruby<br>
    <a class="moz-txt-link-abbreviated" href="mailto:goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$">goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$</a> which
    irb<br>
    /home/goldhoorn/dev-xenomai/install/bin/irb<br>
    <a class="moz-txt-link-abbreviated" href="mailto:goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$">goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$</a> irb
    --version<br>
    irb 0.9.6(09/06/30)<br>
    <a class="moz-txt-link-abbreviated" href="mailto:goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$">goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$</a> irb -r
    'orocos/rorocos'<br>
    /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
    `require':LoadError: cannot load such file -- orocos/rorocos<br>
    <a class="moz-txt-link-abbreviated" href="mailto:goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$">goldhoorn@goldhoorn-VirtualBox:~/dev-xenomai/tools/orocos.rb$</a> irb<br>
    irb(main):001:0&gt; require "orocos"<br>
    Cannot require orocos.rb's Ruby/C extension<br>
    If you are using Rock, this should have been done automatically.<br>
    Run<br>
      amake orocos.rb<br>
    and try again<br>
    NotImplementedError: method `backtrace' called on unexpected T_NODE
    object (0x00000002484ea8 flags=0x381c klass=0x0)<br>
        from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
    `require'<br>
        from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
    `require'<br>
        from (irb):1<br>
        from /usr/bin/irb1.9.1:12:in `&lt;main&gt;'<br>
    <br>
    <br>
    Nice try but it is not such simple ;)<br>
    <br>
    Best,<br>
    Matthias<br>
  </body>
</html>