开发者

Installing a cpp library on linux

I'm trying to install a library (libspopc), but, when I run the make command, I get the errors:

strip libspopc.a libspopc.so
strip: 'libspopc.a': No such file
stri开发者_如何学Pythonp: 'libspopc.so': No such file
make: *** [install] Error 

Working under the assumption that every version of the library I've tried isn't actually missing two of its files, what could cause this? I am running it as su, as instructed, if it's relevant.


While this question is only remotely related to programming (seems more like something for superuser.com), on linux you should whenever you can use the package manager of your system. In most cases, it let's you fetch the files as binaries (thus avoiding possible compilation frustrations), keeps your system clean and is (most importantly for me) easy to remove again. Oh yeah, and it helps you keep the library up to date.

Try looking in your package manager! If it's a fairly popular library, it's probably in your package manager's repositiories!

At least I know it's in mine!

$ bauerbill --aur -Ss libspopc
AUR/libspopc 0.9-1
    A simple pop3 mail client library
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜