기본 콘텐츠로 건너뛰기

FreeBSD SSL 컴파일

$ g++ ssltest.cpp -o ssltest -lssl
/usr/lib/libssl.so: undefined reference to `BIO_find_type'
/usr/lib/libssl.so: undefined reference to `EVP_enc_null'
/usr/lib/libssl.so: undefined reference to `EVP_CIPHER_CTX_init'
...
Linux에선 ssl만 링크해도 괜찮은데, FreeBSD에선 crypto도 링크해야 한다. orz OTL

댓글

이 블로그의 인기 게시물

Winget 해시 무시하기

가끔씩 Winget 에서 패키지를 다운로드 했을 때, "설치 관리자 해시가 일치하지 않습니다." 오류가 뜰 때가 있다. 보안 이슈가 있지만, 그냥 무시하고 싶을 때, 아래 순서로 무시해준다. 관리자 권한 winget settings --enable InstallerHashOverride 설치 winget install --ignore-security-hash --id NirSoft.NirCmd