Public bug reported:
Background: I have been using rvc to manage an ESXi server -- this is a
Ruby gem that called an API to talk to the server. It wants ffi for
better tab completion, so I also have libffi-ruby installed.
Now whenever I run rvc, I get this:
Error loading readline-ffi: Could not open library 'libreadline.so':
libreadline.so: cannot open shared object file: No such file or
directory. Could not open library 'readline.so': readline.so: cannot
open shared object file: No such file or directory. Tab completion will
be limited.
However, when I strace rvc to see where it's looking for readline and/or
libreadline, I actually see this several times in the output:
open("/usr/lib/ruby/1.8/x86_64-linux/readline.so", O_RDONLY) = 3
So readline.so *is* there and ruby *can* (and does) load it, but I am
still getting this error. I'm not sure if it's a bug in the rvc code,
or the ruby runtime itself, but I suspect the runtime so I'm filing it
here.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ruby1.8 1.8.7.249-2ubuntu0.1
ProcVersionSignature: Ubuntu 2.6.32-40.87-generic 2.6.32.57+drm33.23
Uname: Linux 2.6.32-40-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Fri Mar 30 02:05:41 2012
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ruby1.8
** Affects: ruby1.8 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug lucid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/968882
Title:
ruby gems that use readline report error opening readline.so
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/968882/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs