Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failure on apple m1 chip #1734

Open
markqian opened this issue Jul 1, 2021 · 0 comments
Open

build failure on apple m1 chip #1734

markqian opened this issue Jul 1, 2021 · 0 comments

Comments

@markqian
Copy link

markqian commented Jul 1, 2021

Description

I am getting build failure

ld: warning: ignoring file /Users/markqian/licode/build/libdeps/build/lib/libcrypto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture arm64:
  "_EVP_EncryptInit", referenced from:
      _main in conftest-72da8e.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
...
configure:5418: error: in `/Users/markqian/licode/build/libdeps/libsrtp-2.1.0':
configure:5420: error: can't find openssl >= 1.0.1 crypto lib

when building on mac mini which uses m1 chip. Is there a way to resolve this?

Steps to reproduce the issue:

  1. clone repo
  2. run install script for mac

Describe the results you received:

ld: warning: ignoring file /Users/markqian/licode/build/libdeps/build/lib/libcrypto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture arm64:
  "_EVP_EncryptInit", referenced from:
      _main in conftest-72da8e.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
...
configure:5418: error: in `/Users/markqian/licode/build/libdeps/libsrtp-2.1.0':
configure:5420: error: can't find openssl >= 1.0.1 crypto lib

Describe the results you expected:
Build successfully

Additional information you deem important (e.g. issue happens only occasionally):

Licode commit/release where the issue is happening

Additional environment details (Local, AWS, Docker, etc.):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant