On Tue, 20 Sep 2016, Peter White (jawhite2) wrote:
configure:4477:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-o conftest -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk/
-miphoneos-version-min=9.0 -arch i386 -g -Os -DNDEBUG
-I/Volumes/local/trunk/dependencies/openssl/include
-Werror=partial-availability conftest.c >&5
configure:4481: $? = 0
configure:4488: ./conftest
dyld: mach-o, but built for simulator (not macOS)
./configure: line 4490: 71522 Abort trap: 6 ./conftest$ac_cv_exeext
For some reason, the dynamic run-time linker finds a non-native "mach-o"
(whatever that is) when it tries to run the test program so the test program
obviously fails.
I don't know xcode so I have no idea how this came to be, but you can probably
repeat the problem by rerunning that build command line and a similar test
program and then you should be able to investigate how it comes the wrong lib
gets to be used.
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html