kube-solo-osx icon indicating copy to clipboard operation
kube-solo-osx copied to clipboard

Missing disk.img

Open ktamiola opened this issue 9 years ago • 9 comments
trafficstars

I am still going through the logs on my mac, as I don't recall making any substantial changes. However, upon the VM re-initialization I got:

Creating 30GB sparse disk (QCow2)...
dyld: Library not loaded: /usr/local/opt/libev/lib/libev.4.dylib
  Referenced from: /Users/kamil/bin/qcow-tool
  Reason: image not found
/Applications/Kube-Solo.app/Contents/Resources/functions.sh: line 133: 13075 Trace/BPT trap: 5       ~/bin/qcow-tool create --size=30GiB data.img

I have reinstalled Corectl (version 0.7.18) and repeated the process of VM installation. Still no go!

ktamiola avatar Nov 12 '16 22:11 ktamiola

In the meantime run please brew install libev and that error will go away... looking at how to statically link that lib to the blob...

Thanks for reporting and for your patience. A great weekend too!

On Sat, 12 Nov 2016 at 22:37, Kamil Tamiola [email protected] wrote:

I am still going through the logs on my mac, as I don't recall making any substantial changes. However, upon the VM re-initialization I got:

Creating 30GB sparse disk (QCow2)... dyld: Library not loaded: /usr/local/opt/libev/lib/libev.4.dylib Referenced from: /Users/kamil/bin/qcow-tool Reason: image not found /Applications/Kube-Solo.app/Contents/Resources/functions.sh: line 133: 13075 Trace/BPT trap: 5 ~/bin/qcow-tool create --size=30GiB data.img

I have reinstalled Corectl (version 0.7.18) and repeated the process of VM installation. Still no go!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TheNewNormal/kube-solo-osx/issues/156, or mute the thread https://github.com/notifications/unsubscribe-auth/AAtYZ4YT0ivmav-e3sjK8jIywiAgaZC0ks5q9j-ngaJpZM4KwjCX .

AntonioMeireles avatar Nov 12 '16 22:11 AntonioMeireles

Cheers @AntonioMeireles ! Happy weekend and thank you! I am back on the track. For others who might bum into that issue,

brew install libev

ktamiola avatar Nov 12 '16 22:11 ktamiola

Same issue here resolved successfully with

brew install libev

rockycape avatar Nov 16 '16 01:11 rockycape

I will keep it open till we sort out qcow-tool dependencies in corectl

rimusz avatar Nov 16 '16 09:11 rimusz

Resolved the same way - this problem appears also on kube-cluster.

A good solution would be somewhere in the scripts to probe if libev.4.dylib is installed or not...

aterreno avatar Nov 17 '16 11:11 aterreno

we hope to handle that with qcow-tool soon

rimusz avatar Nov 17 '16 11:11 rimusz

ok cool

aterreno avatar Nov 17 '16 11:11 aterreno

I've run into this problem as well but use macports, which installs libev.4.dylib in /opt/local/lib instead of /usr/local/opt/libev. I created the latter directory and symlinked the file into it, which worked.

jghoman avatar Nov 19 '16 00:11 jghoman

I'm getting the same error, and I have homebrew installing in a non-standard location. So even if I brew install libev, it doesn't create a file at /usr/local/opt/libev/lib/libev.4.dylib.

I can probably get around the problem with some symlinking, but +1 on getting this fixed.

jonmoter avatar Dec 08 '16 19:12 jonmoter