passepartoutvpn / openssl-apple

A script for compiling OpenSSL for Apple Devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Help - invalid x86_64

thejeff77 opened this issue · comments

pple/bin/iPhoneSimulator16.2-x86_64.sdk/build-openssl-1.1.1q.log
apps/libapps.a -lssl -lcrypto
Undefined symbols for architecture x86_64:
"_opendir$INODE64", referenced from:
_OPENSSL_DIR_read in libcrypto.a(o_dir.o)
"_readdir$INODE64", referenced from:
_OPENSSL_DIR_read in libcrypto.a(o_dir.o)
ld: symbol(s) not found for architecture x86_64

Input command: ./build-libssl.sh --version=1.1.1d --archs="ios_armv7 ios_arm64 ios_i386 ios_arm64e" --targets="ios-sim-cross-x86_64 ios64-cross-arm64 ios64-cross-arm64e"

Any help would be appreciated. What are all the supported targets?

I understand you fail to compile on Intel Mac, correct?

Yes, this is an Intel Mac. Thanks for the quick response.

Too bad I have no way to test this. I have an M1.

Does this command work on the M1?

I don't know how or if the type of processor impacts the running of this compile command.