1.
/usr/bin/ld: cannot find -levent
sudo apt-get install libevent-dev
2.
/usr/bin/ld: cannot find -ljemalloc
https://github.com/jemalloc/jemalloc/releases
./configure make make install
本文介绍了解决在编译过程中遇到的链接器无法找到levent和jemalloc库的问题。针对levent,可以通过安装libevent-dev包来解决;对于jemalloc,则需要从其官方GitHub仓库下载并进行配置、编译及安装。
1.
/usr/bin/ld: cannot find -levent
sudo apt-get install libevent-dev
2.
/usr/bin/ld: cannot find -ljemalloc
https://github.com/jemalloc/jemalloc/releases
./configure make make install

被折叠的 条评论
为什么被折叠?