I want to install FreeBSD 10.3 as a virtual machine on my Mac mini with 10.11 via xhyve. I found this tutorial. But I don't get it to install. When I run the install script I get this error.

dlopen(/Library/Caches/Homebrew/xhyve--git/test/userboot.so, 4): image not found

What do I do wrong? Also, maybe someone can explain to me, what the install script xhyverun-fbsdinstall.sh actually does.

  • 1
    Just curious, why xhyve when VirtualBox is so much easier? – user3439894 Jun 11 '16 at 14:55
  • 1
    I just to want look into it. Can't tell you more than you can lookup at xhyve.org – Sebastian Semmler Jun 11 '16 at 15:39
  • The hypervisor framework in OS X is a user oriented, lightweight hypervisor meant for testing apps; this is the hypervisor that xhyve uses. Personally, I think you going to expend a lot of energy trying to make something work on weak platform to begin with. – Allan Nov 11 '16 at 19:24

The tutorial has an error. It refers to the userboot.so file in the Homebrew source code cache, which may not be in the same place or existent on all systems with xhyve installed.

A recent pull request into homebrew-core fixed this issue; that file is now in $(brew --prefix xhyve)/share/xhyve/test/userboot.so.

You should do the tutorial as before, but with every line starting with USERBOOT=

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .