[Django] 배포 시 sqlite 버전 불일치 해결 - SQLite 3.9.0 or later is required (found 3.7.17)

정리맨·2022년 9월 22일
0

https://sqlite.org/index.html 
Download -> 최신버전 source 다운로드 .tar

sudo wget https://sqlite.org/2021/sqlite-autoconf-3390000.tar.gz
sudo tar -zxf sqlite-autoconf-3390000.tar.gz
cd sqlite-autoconf-3390000/

sudo ./configure
sudo make clean && sudo make -j 20 && sudo make install
sqlite3 --version

이전 버전에 대한 정보를 덮어 씌워야함
블로그에는 /usr/local/lib64에 신규 파일이 존재 한다고 나왔지만 없었고
나의 경우에는 /usr/local/lib/에 있는 버전정보를 /usr/lib64로 덮어씌우기를 진행함

cp -rf /usr/lib64/libsqlite3.so.0.8.6 /usr/lib64/libsqlite3.so.0.8.6_bak
cp -rf /usr/local/lib/libsqlite3.so.0.8.6 /usr/lib64/libsqlite3.so.0.8.6
y
sqlite3 --version
신규 설치 버전 출력

출처: https://joycecoder.tistory.com/109

profile
ㅎㅎ

0개의 댓글