Home Eventmachine 1.2.7 error during bundle with ruby 3.0.0
Post
Cancel

Eventmachine 1.2.7 error during bundle with ruby 3.0.0

1
2
3
4
5
6
7
8
9
4 warnings generated.
linking shared-object rubyeventmachine.bundle
ld: warning: directory not found for option '-L/usr/local/opt/openssl/lib/'
Undefined symbols for architecture arm64:
  "_SSL_get1_peer_certificate", referenced from:
      SslBox_t::GetPeerCert() in ssl.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [rubyeventmachine.bundle] Error 1

eventmachine Error during bundle.

This needs help in locating the ssl path.

Solved by

1
arch -arm64 gem install eventmachine -v '1.2.7' -- --with-openssl-dir=$(brew --prefix openssl)

For further reference eventmachine_solved

This post is licensed under CC BY 4.0 by the author.

-

Making about.md as default jekyll page and add a separate posts tab