/* Subject: RaspBerryPi4 - Protobuf install guide (with Tensorflow4) Create Date: 2022-06-08 Author: 정도윤(Doyun Jung), rabbit.white@daum.net Description: 1. Raspberry 4 64bit (bullseye) */ 문제 해결1) 1. 필요한 패키지 설치 $ sudo apt-get install autoconf automake libtool curl make g++ unzip 2. protobuf 코드 다운로드 $ git clone https://github.com/google/protobuf ​ 3. 빌드 $ cd protobuf $ ./autogen.sh 여기서 문제가 없다면, configure 파일이 생성 될 것이다. $ ./configure $ make # 빌드(컴파일) 시간 엄청 걸림 (약 40분 이상...) $ make check # 빌드(컴파일) 검사 시간 엄청 더 걸림 $ sudo make install # 패키지 설치 $ sudo ldconfig # 공용 라이브러리 캐쉬를 갱신시킨다. 4. 확인 버전 확인으로 잘 설치가 되었는지 확인할 수 있다. $ protoc --version ----------------------------------------------- 문제 해결2) pip install protobuf==3.20.*