Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make时报错 #43

Closed
zhuyi1159 opened this issue Feb 27, 2024 · 3 comments
Closed

make时报错 #43

zhuyi1159 opened this issue Feb 27, 2024 · 3 comments
Labels
question Further information is requested

Comments

@zhuyi1159
Copy link

zhuyi1159 commented Feb 27, 2024

命令行无法直接安装protoc,我根据官方教程由源码编译安装了protoc-3.12.4
image
但是报了这个错误:
image
我看这个报错与安装muduo库时未将lib文件夹内容复制进usr/lib时的报错类似,但我在编译protoc时使用了bazel编译,没有对应的lib文件夹

Copy link

Message that will be displayed on users' first issue

@578223592 578223592 added the question Further information is requested label Feb 28, 2024
@578223592
Copy link
Collaborator

578223592 commented Feb 28, 2024

@zhuyi1159
个人建议的方法1:
image
执行你图片中我截取的这部分命令。
2.在readme中更新一下安装,可以参考下,Ubuntu的话是一行命令

@zhuyi1159
Copy link
Author

谢谢,已经解决了,我重新安装了protoc,执行了以下命令:
./configure
make && make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants