在MacOS 13.2上安裝舊的OpenSSL 0.9.8,出現錯誤

在MacOS 13.2上安裝舊的OpenSSL 0.9.8,出現錯誤

為了相容於某些功能和舊軟體,我需要在現代 MacOS 電腦上安裝 OpenSSL0.9.8。我從以下位置下載了來源存檔:https://www.openssl.org/source/old/0.9.x/openssl-0.9.8i.tar.gz 我解壓縮了 tar,啟動了配置,修復了 Makefile 中的一些行,但是當我啟動時make all出現此錯誤:

[...]
      "_sk_zero", referenced from:
          _ssl_bytes_to_cipher_list in libssl.a(ssl_lib.o)
      "_uni2asc", referenced from:
          _print_attribs in pkcs12.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [link_app.] Error 1
    make[1]: *** [openssl] Error 2
    make: *** [build_apps] Error 1

我試圖了解如何解決或繞過這個問題,但無濟於事。有人對如何解決這個問題有什麼建議嗎?先感謝您。

相關內容