vagrant
vagrant copied to clipboard
Last Vagrant releases still not totally compatible with old macOS
For macOS 10.13.6 High Sierra:
Debug output
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'bento/ubuntu-22.04' version '202212.11.0' is up to date...
==> default: There was a problem while downloading the metadata for your box
==> default: to check for updates. This is not an error, since it is usually due
==> default: to temporary network problems. This is just a warning. The problem
==> default: encountered was:
==> default:
==> default: dyld: Symbol not found: _iconv
==> default: Referenced from: /usr/lib/libcups.2.dylib
==> default: Expected in: /opt/vagrant/embedded/lib/libiconv.2.dylib
==> default: in /usr/lib/libcups.2.dylib
==> default:
==> default:
==> default: If you want to check for box updates, verify your network connection
==> default: is valid and try again.
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
.........etc
Expected behavior
No warning
Vagrant version
2.3.6-2.3.7
Host operating system
macOS 10.13.6 High Sierra
Guest operating system
Ubuntu 22.04
Steps to reproduce
- Upgrade for 2.3.6-2.3.7
Network connection is fully operational. Rolling back to 2.3.0 (the very last working version) immediately restores functionality.
Hi there,
Would you please provide a gist of the debug output from vagrant up --debug
Thanks
Any ideas?
BTW: 'uninstall tool' for 2.3.7 version of Vagrant doesn't work on High Sierra too (terminal window doesn't open).
The method from the above link doesn't help. When I simply remove libiconv.2.dylib I get
==> default: dyld: Library not loaded: @rpath/libiconv.2.dylib
==> default: Referenced from: /opt/vagrant/embedded/lib/libxml2.2.dylib
==> default: Reason: Incompatible library version: libxml2.2.dylib requires version 9.0.0 or later, but libiconv.2.dylib provides version 7.0.0
When I replace libiconv.2.dylib with version from 2.3.0 again I see
dyld: Symbol not found: _iconv
Referenced from: /usr/lib/libcups.2.dylib
Expected in: /opt/vagrant/embedded/lib/libiconv.2.dylib
in /usr/lib/libcups.2.dylib
after $ vagrant box outdated -f
Just find this three files inside /opt/vagrant/embedded/lib/ directory:
- libiconv.2.dylib
- libxml2.2.dylib
- libxslt.1.dylib And remove them or rename to _....dylib
@mikenovikov, thanks a lot! Now it works and checks for updates. @chrisroberts, but it is still a hotfix, not a real solution.
This workaround provided by @mikenovikov works like a charm here, thanks!