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

libcrypto.dylib for architecture x86_64 #42

Open
lecong opened this issue May 27, 2021 · 4 comments
Open

libcrypto.dylib for architecture x86_64 #42

lecong opened this issue May 27, 2021 · 4 comments

Comments

@lecong
Copy link

lecong commented May 27, 2021

Hi,
I want using this library for iOS 12 (64 bit)

When I run command:
$ make contrib

have error:

ld: building for iOS Simulator, but linking in dylib file (/usr/local/opt/openssl/lib/libcrypto.dylib) built for macOS, file '/usr/local/opt/openssl/lib/libcrypto.dylib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [librem.dylib] Error 1
make: *** [librem] Error 2

Can your help me resolve it?

@kisso
Copy link

kisso commented Jun 10, 2021

i have same issue...

@Koshub
Copy link
Contributor

Koshub commented Jun 14, 2021

Probably for quick fix setting empty OPENSSL_OPT := will help (see here). It's just trying to use macOS openssl which is not built for iOS

@kisso
Copy link

kisso commented Jun 15, 2021

Probably for quick fix setting empty OPENSSL_OPT := will help (see here). It's just trying to use macOS openssl which is not built for iOS

after that fix I am getting another error: Makefile:148: *** bad libre version, required version is ">= 2.0.1-dev". LIBRE_MK: ../re/mk/re.mk. Stop.
make: *** [baresip] Error 2

Koshub added a commit to Koshub/baresip-ios that referenced this issue Jun 15, 2021
Koshub added a commit to Koshub/baresip-ios that referenced this issue Jun 15, 2021
Koshub added a commit to Koshub/baresip-ios that referenced this issue Jun 15, 2021
@Kaleeshwaran04
Copy link

Kaleeshwaran04 commented Jul 18, 2023

fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: specifed architecture type (arm64) for file (/Users/Desktop/baresip-ios/contrib/aarch64/lib/libre.a) does not match its cputype (16777223) and cpusubtype (3) (should be cputype (16777228) and cpusubtype (0)) make: *** [libre] Error 1

am faceing this error
how to resolve thie error?
Please help me!

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

4 participants