fukamachi / woo

A fast non-blocking HTTP server on top of libev
http://ultra.wikia.com/wiki/Woo_(kaiju)
MIT License
1.27k stars 96 forks source link

Woo on M1 Macbooks #97

Closed elijahrdorman closed 2 years ago

elijahrdorman commented 2 years ago

I recently decided to try out Woo, but upon trying to add it with quicklisp in SBCL on my M1 Macbook Air (2020), I got the following:

To load "optima":
  Load 2 ASDF systems:
    alexandria closer-mop
  Install 1 Quicklisp release:
    optima
; Fetching #<URL "http://beta.quicklisp.org/archive/optima/2015-07-09/optima-20150709-git.tgz">
; 19.87KB
==================================================
20,345 bytes in 0.00 seconds (15730.93KB/sec)
; Loading "optima"
[package optima.core].............................
[package optima]..................................
[package optima.extra]..................
(OPTIMA)
* (ql:quickload 'woo)
To load "woo":
  Load 1 ASDF system:
    woo
; Loading "woo"
.
debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread
#<THREAD "main thread" RUNNING {700388A363}>:
  Unable to load any of the alternatives:
   ("libev.4.dylib" "libev.4.so" "libev.so.4" "libev.dylib" "libev.so")

....removed debugger stuff

(CFFI::FL-ERROR "Unable to load any of the alternatives:~%   ~S" ("libev.4.dylib" "libev.4.so" "libev.so.4" "libev.dylib" "libev.so"))
   source: (ERROR 'LOAD-FOREIGN-LIBRARY-ERROR :FORMAT-CONTROL CONTROL
                  :FORMAT-ARGUMENTS ARGUMENTS)

I looked and libev supports M1 Macs, so I'm not sure what a next step would be.

elijahrdorman commented 2 years ago

Totally missed the requirement that I install libev myself 🤦‍♂️

For any future visitor, brew install libev worked just fine.