Issue #6948 has been updated by Paul Seymour.

The same thing happens with the 1.3.0-6 source. Put /opt/puppet/bin in the path 
so /usr/bin/env ruby would work and build RPM's from the rake task.

So the mcollective base path for it's files are: 
/opt/puppet/lib/ruby/site_ruby/1.8/mcollective

As above the RUBYLIB needs to be set in the init script (64 bit in my case) and 
the error still occurs:-
# service mcollective start
Starting mcollective: /opt/puppet/lib/ruby/1.8/x86_64-linux/thread.so: 
/opt/puppet/lib/ruby/1.8/x86_64-linux/thread.so: undefined symbol: 
rb_eThreadError - /opt/puppet/lib/ruby/1.8/x86_64-linux/thread.so (LoadError)
        from /opt/puppet/lib/ruby/1.8/thread.rb:5
        from /opt/puppet/lib/ruby/site_ruby/1.8/rubygems.rb:11:in `require'
        from /opt/puppet/lib/ruby/site_ruby/1.8/rubygems.rb:11
        from /opt/puppet/lib/ruby/site_ruby/1.8/mcollective.rb:1:in `require'
        from /opt/puppet/lib/ruby/site_ruby/1.8/mcollective.rb:1
        from /usr/sbin/mcollectived:3:in `require'
        from /usr/sbin/mcollectived:3

----------------------------------------
Bug #6948: thread.so in pe-ruby throws error.
https://projects.puppetlabs.com/issues/6948

Author: Cody Herriges
Status: Investigating
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected PE version: 


When trying to use the pe-ruby with MCollective I have to add the following 
paths to the RUBYLIB that is sets in it's initscript.

    
/opt/puppet/lib:/opt/puppet/lib/ruby/1.8/:/opt/puppet/lib/ruby/site_ruby/1.8/:/opt/puppet/lib/ruby/1.8/i386-linux

Starting the server daemon results in the following error in thread.so.

    [root@localhost 1.8]# /usr/sbin/mcollectived
    /opt/puppet/lib/ruby/1.8/i386-linux/thread.so: 
/opt/puppet/lib/ruby/1.8/i386-linux/thread.so: undefined symbol: 
rb_eThreadError - /opt/puppet/lib/ruby/1.8/i386-linux/thread.so (LoadError)
      from /opt/puppet/lib/ruby/1.8/thread.rb:5
      from /opt/puppet/lib/ruby/site_ruby/1.8/rubygems.rb:10:in `require'
      from /opt/puppet/lib/ruby/site_ruby/1.8/rubygems.rb:10
      from /usr/lib/ruby/site_ruby/1.8/mcollective.rb:1:in `require'
      from /usr/lib/ruby/site_ruby/1.8/mcollective.rb:1
      from /usr/sbin/mcollectived:3:in `require'
      from /usr/sbin/mcollectived:3


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to