Install FreeBSD on xhyve 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.
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=