Я загрузил источники OpenSSL и выполнил трилогию config
, make
, sudo make install
.
Затем я построил свой проект, связавшись в libcrypto.a и libssl.a, но получил:
ld: warning: in /usr/local/ssl/lib/libcrypto.a, file was built for unsupported file format which is not the architecture being linked (x86_64)
ld: warning: in /usr/local/ssl/lib/libssl.a, file was built for unsupported file format which is not the architecture being linked (x86_64)
Я уверен, что хочу перестроить OpenSSL как 32-разрядную (i386), потому что (по причинам, не относящимся к этому вопросу) мой проект должен быть 32-битным.
Как создать OpenSSL как 32-разрядную версию в Mac OS X? (Я ничего не видел об этом в файле "INSTALL".)