-
Notifications
You must be signed in to change notification settings - Fork 49
Error when connecting to any vcenter or esx host. #65
Comments
Here is my ruby version as well. ruby -v |
Have the same problem on Ubuntu Precise 12.04. Reading elsewhere, the ffi error doesn't matter right? Just the vds error? ruby user@host Error loading readline-ffi: Could not open library 'readline.so': readline.so: cannot open shared object file: No such file or directory. ruby -v |
To fix the vds error, remove the comma at the end of line 656 in /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/modules/vds.rb. rvc should work without fixing ffi, but I was able to get it to work by installing the readline package using MacPorts and adding the following line to my .bashrc : |
"export RVC_READLINE=/opt/local/lib/libreadline.dylib" works on my Ruby 2.0.0p247 on OS X 10.7.5 |
I'm getting this error on my mac. I have ffi 1.1.5 installed....
Error loading readline-ffi: Could not open library 'libreadline.so.dylib': dlopen(libreadline.so.dylib, 5): image not found.
Could not open library 'readline.so': dlopen(readline.so, 5): image not found. Tab completion will be limited.
/Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/modules/vds.rb:662:in
load_code': compile error (SyntaxError) /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/modules/vds.rb:657: syntax error, unexpected ')' from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/namespace.rb:104:in
load_module_dir'from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/namespace.rb:92:in
foreach' from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/namespace.rb:92:in
load_module_dir'from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/shell.rb:228:in
reload_modules' from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/shell.rb:227:in
each'from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/shell.rb:227:in
reload_modules' from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/bin/rvc:63 from /usr/bin/rvc:19:in
load'from /usr/bin/rvc:19
The text was updated successfully, but these errors were encountered: