Hello there, I’ve run into an issue with Vagrant where it does not start and prints the following error:
➜ ~ vagrant
ruby: error while loading shared libraries: libruby.so.2.4: cannot open shared object file: No such file or directory
Not sure what additional information to provide. So please feel free to ask and if possible provide guidance regarding how to gather the required information
Thanks Yochanan, you are correct about the dependency being out of date. Currently my system is fully up to date, but seems like the “vagrant” package has this requirement. Would you advice downgrading ruby for the support of vagrant package, or should I report this to the Packager and the archlinux distro for this bug?
➜ ~ which vagrant
/usr/bin/vagrant
➜ ~ /usr/bin/vagrant -h
ruby: error while loading shared libraries: libruby.so.2.4: cannot open shared object file: No such file or directory
P.S. tried reinstalling ruby and removing cached versions of both. Did not fix the issue at hand.
Currently running the following Kernel, as I am not sure if it maybe related to it, since VirtualBox has different setups based on that version:
Kernel: 5.4.64-1
~ uname -a
Linux BlackTemple 5.4.64-1-MANJARO #1 SMP PREEMPT Wed Sep 9 18:26:19 UTC 2020 x86_64 GNU/Linux
I may attempt to rollback to previous stable version, to check if this fixes the issue
UPDATE
Kernel 4.19.144-1 (LTS)
Reinstall of vagrant - still no change in the error message
This will probably be some kind of temporal fix, as once rubylib updates it’s major version, my vagrant my start breaking up due to deprecated methods etc…
I will keep posted any future changes that may arise on this. But as of today, it has been “patched/fixed”