서론
맥북에 개발 환경 세팅을 하는 중 뜬금없이 아래와 같은 에러가 발생했다.
error: building openssl:arm64-osx failed with: BUILD_FAILED
(가능성은 매우 낮지만) 내가 M2를 쓰고 있어서 환경에 맞는 패키지가 없어서 그런가 싶었는데, pkg-config 를 설치하지 않아 라이브러리 빌드에 필요한 정보가 누락되어 발생한 문제였다.
해결 방법
home brew 를 쓰고 있다면 아래 한 줄만 입력하면 해결된다.
brew install pkg-config
출처
https://github.com/microsoft/vcpkg/issues/31312
error: building openssl:arm64-osx failed with: BUILD_FAILED · Issue #31312 · microsoft/vcpkg
Operating system Mac OS Compiler No response Steps to reproduce the behavior ./vcpkg/vcpkg install cpprestsdk Failure logs Computing installation plan... The following packages will be built and in...
github.com
'오리 도서관 > (미분류) 삽질 방지 개발 지식' 카테고리의 다른 글
| FacebookSDK 제한적 로그인에 대한 정리 (with Unity) (0) | 2025.03.14 |
|---|---|
| [TIP] 코딩 테스트를 연습할 때, 파일로 입력을 받기 ( C/C++ ) (0) | 2025.02.10 |
| [vcpkg] 특정 버전의 패키지를 받고 싶을 때 (0) | 2025.01.02 |