TheNewNormal / kube-cluster-osx

Local development multi node Kubernetes Cluster for macOS made very simple
Apache License 2.0
298 stars 26 forks source link

dyld: Library not loaded: /usr/local/opt/libev/lib/libev.4.dylib #109

Closed mikelnrd closed 7 years ago

mikelnrd commented 7 years ago

Hi I have corectl and kube-cluster installed (and iTerm). When I hit 'up' fro the kube-cluster menu I get the following. Any help to get this working would be appreciated thanks.

Kube-Cluster data disks do not exist, they will be created now ...

Creating 5GB sparse disk (QCow2) for Master ... dyld: Library not loaded: /usr/local/opt/libev/lib/libev.4.dylib Referenced from: /Users/mike/bin/qcow-tool Reason: image not found /Applications/Kube-Cluster.app/Contents/Resources/functions.sh: line 152: 15281 Abort trap: 6 ~/bin/qcow-tool create --size=5GiB master-data.img

Created 5GB Data disk for Master

Please type Nodes Data disk size in GBs followed by [ENTER]: [default is 15]:

mikelnrd commented 7 years ago

If I type in a GB size (e.g. 16) I get...

Please type Nodes Data disk size in GBs followed by [ENTER]:

Creating 16GB sparse disk (QCow2) for Node1... dyld: Library not loaded: /usr/local/opt/libev/lib/libev.4.dylib Referenced from: /Users/mike/bin/qcow-tool Reason: image not found /Applications/Kube-Cluster.app/Contents/Resources/functions.sh: line 152: 16092 Abort trap: 6 ~/bin/qcow-tool create --size="$disk_size"GiB node-01-data.img

Created 16GB Data disk for Node1

Creating 16GB sparse disk (QCow2) for Node2... dyld: Library not loaded: /usr/local/opt/libev/lib/libev.4.dylib Referenced from: /Users/mike/bin/qcow-tool Reason: image not found /Applications/Kube-Cluster.app/Contents/Resources/functions.sh: line 152: 16094 Abort trap: 6 ~/bin/qcow-tool create --size="$disk_size"GiB node-02-data.img

Created 16GB Data disk for Node2

Starting k8smaster-01 VM ...

booting k8smaster-01 (1/1) [ERROR] stat master-data.img: no such file or directory

Master VM has not booted, please check '~/kube-cluster/logs/master_vm_up.log' and report the problem !!!

mikelnrd commented 7 years ago

And the log is just...

MacBook-Pro:~ mike$ cat ~/kube-cluster/logs/master_vm_up.log

booting k8smaster-01 (1/1) [ERROR] stat master-data.img: no such file or directory

rimusz commented 7 years ago

yes, you got cut by this issue https://github.com/TheNewNormal/kube-solo-osx/issues/156 till we sort it out you need to run : brew install libdev

sputnick commented 7 years ago

Small typo there @rimusz "libev" not "libdev" just FYI.

mikelnrd commented 7 years ago

Thanks! Happy to close the issue for now I'll open another one if that doesn't work.