Issue #19057 has been reported by Feifei Jia.
----------------------------------------
Bug #19057: Can not load augeas shared library on CentOS 6.x x86_64
https://projects.puppetlabs.com/issues/19057
Author: Feifei Jia
Status: Unreviewed
Priority: Normal
Assignee:
Category: augeas
Target version: 3.x
Affected Puppet version: 3.0.1
Keywords:
Branch:
After installing ruby-augeas-0.4.1-1.el6.x86_64.rpm from yum.puppetlabs.com,
augeas could not work any more.
I found errors like "Could not find a suitable provider for augeas" in the log
file.
<pre>
$ ruby -raugeas -e "puts Augeas.open"
/usr/lib/ruby/site_ruby/1.8/augeas.rb:23:in `require': no such file to load --
_augeas (LoadError)
from /usr/lib/ruby/site_ruby/1.8/augeas.rb:23
$ ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']"
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux
$ ruby -e 'puts $:'
/usr/lib/ruby/site_ruby/1.8
/usr/lib64/ruby/site_ruby/1.8
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux
/usr/lib/ruby/site_ruby
/usr/lib64/ruby/site_ruby
/usr/lib64/site_ruby/1.8
/usr/lib64/site_ruby/1.8/x86_64-linux
/usr/lib64/site_ruby
/usr/lib/ruby/1.8
/usr/lib64/ruby/1.8
/usr/lib64/ruby/1.8/x86_64-linux
</pre>
It turns out that _augeas.so file was installed to wrong directory:
<pre>
$ rpm -ql ruby-augeas
/usr/lib/ruby/site_ruby/1.8/augeas.rb
/usr/lib/ruby/site_ruby/1.8/x86_64-linux/_augeas.so
/usr/share/doc/ruby-augeas-0.4.1
/usr/share/doc/ruby-augeas-0.4.1/COPYING
/usr/share/doc/ruby-augeas-0.4.1/NEWS
/usr/share/doc/ruby-augeas-0.4.1/README.rdoc
</pre>
There's no such issue when using version 0.3.0:
<pre>
$ rpm -ql ruby-augeas
/usr/lib/ruby/site_ruby/1.8/augeas.rb
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/_augeas.so
/usr/share/doc/ruby-augeas-0.3.0
/usr/share/doc/ruby-augeas-0.3.0/COPYING
/usr/share/doc/ruby-augeas-0.3.0/NEWS
/usr/share/doc/ruby-augeas-0.3.0/README.rdoc
</pre>
Could someone re-create this package? Thanks.
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.