libcurl4-openssl-dev를 설치할 때 "git pull"이 CURL_OPENSSL_3을 사용하려고 시도하는 이유는 무엇입니까?

libcurl4-openssl-dev를 설치할 때 "git pull"이 CURL_OPENSSL_3을 사용하려고 시도하는 이유는 무엇입니까?

실행하면 git pull다음 오류가 발생합니다.

git-remote-https: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by git-remote-https)

libcurl3-openssl-devlibcurl4-openssl-devgit이 이미 설치되어 있는데 왜 사용하려고 합니까 ? 이것해결책예, 다음 패키지를 설치했습니다:

apt install libcurl3 libcurl-openssl1.0-dev

그러나 위 명령은 다음 패키지를 제거합니다.

cmake libcurl4 libcurl4-openssl-dev

cmake삭제되고 싶지 않아요 ! 이 문제를 삭제하지 않고 어떻게 해결할 수 있나요 cmake?

답변1

git 명령을 실행할 때 오류가 발생합니다.

/home/username/libexec/git-core/git-remote-https:/usr/lib/x86_64-linux-gnu/libcurl.so.4: 버전 'CURL_OPENSSL_3'을 찾을 수 없습니다(/home/username/libexec/에 필요함) ) 자식-코어/git-remote-https)

최신 버전을 컴파일했기 때문입니다.자식그런 다음업그레이드된 glibc내 데비안 배포판을 업그레이드하여.

해결책은 git 실행 파일을 제거하고 최신 glibc에 연결되는 git을 다시 컴파일하는 것이었습니다.

관련 정보