Am Dienstag, 7. Dezember 2010, 17:14:05 schrieb Jeff Johnson: > The better fix here is to add > /etc/ld.so.conf.d/ruby > that contains > /usr/lib/ruby > instead of mucking about with symlinks all over the place. > > Try and see ...
Sure, in that case we have to name the file "rpm.so". Otherwise "require 'rpm'" doesn't work in Ruby anymore. It directly maps the name of the import to a shared object. If that's ok with you, e.g. in a /usr/lib/rpm/ruby directory, I can also create quickly a dropin for /etc/profile.d to extend RUBYPATH with /usr/lib/rpm/ruby for the rest. > > I can, of course, always double-install stuff. > > Double install would work too, as would static (either full or partial) > linking. Ok. The above appeals more to me, however. :-) Are you ok with an /usr/lib/rpm/ruby subdir, an /usr/lib/rpm/ruby/rpm.so glue .so and an /etc/profile.d scripty? Eric ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org