欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Ubuntu下sqlite3 make install安装报错

程序员文章站 2022-04-03 08:15:25
...
[email protected]:~/Downloads/sqlite-autoconf-3250300$ make
[email protected]:~/Downloads/sqlite-autoconf-3250300$ make install
make[1]: Entering directory '/home/seaworth/Downloads/sqlite-autoconf-3250300'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libsqlite3.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libsqlite3.so.0.8.6 /usr/local/lib/libsqlite3.so.0.8.6
/usr/bin/install: cannot create regular file '/usr/local/lib/libsqlite3.so.0.8.6': Permission denied
Makefile:417: recipe for target 'install-libLTLIBRARIES' failed
make[1]: *** [install-libLTLIBRARIES] Error 1
make[1]: Leaving directory '/home/seaworth/Downloads/sqlite-autoconf-3250300'
Makefile:897: recipe for target 'install-am' failed
make: *** [install-am] Error 2

改为sudo make install

[email protected]:~/Downloads/sqlite-autoconf-3250300$ sudo make install

参考:https://askubuntu.com/questions/527260/make-install-command-permission-denied

相关标签: bug