|
Bugzilla – Full Text Bug Listing |
| Summary: | yast2-ruby-bindings not found some YaST2 plugins | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Artyom Loenko <divenvrsk> |
| Component: | YaST2 | Assignee: | Duncan Mac-Vicar <dmacvicar> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | openSUSE 10.3 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
I know about this problem I will try to solve it soon. I use LD_LIBRARY_PATH=/usr/lib/yast2/plugins ;-) Fixed in 0.3.2 |
I install yast2-ruby-bindings and try to make some utils for Yast. but when I try to execute my ruby script I have an error: $ ruby test.rb /usr/lib/ruby/vendor_ruby/1.8/i586-linux/yastx.so: libpy2wfm.so.2: cannot open shared object file: No such file or directory - /usr/lib/ruby/vendor_ruby/1.8/i586-linux/yastx.so (LoadError) from /usr/lib/ruby/vendor_ruby/1.8/yast.rb:24 from test.rb:1:in `require' from test.rb:1 line 1 in script: "require 'yast'". libpy2wfm.so.2 I found at /usr/lib/YaST2/plugin/ directory. then I create symlink from /usr/lib/YaST2/plugin/libpy2wfm.so.2 to /usr/lib/libpy2wfm.so.2, error has gone. but now I have new error. $ ruby test.rb /usr/lib/ruby/vendor_ruby/1.8/i586-linux/yastx.so: libpy2scr.so.2: cannot open shared object file: No such file or directory - /usr/lib/ruby/vendor_ruby/1.8/i586-linux/yastx.so (LoadError) from /usr/lib/ruby/vendor_ruby/1.8/yast.rb:24 from test.rb:1:in `require' from test.rb:1 I create symlink to libpy2scr.so.2 to /usr/lib too and I can run script now.