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

编译phe模块的时候make报错 #34

Closed
Handikang opened this issue Apr 14, 2024 · 4 comments
Closed

编译phe模块的时候make报错 #34

Handikang opened this issue Apr 14, 2024 · 4 comments

Comments

@Handikang
Copy link

image
我看了之前被关闭的issue,看到cmake的时候也添加了参数-DBUILD_SHARED_LIBS=ON
还是报错,如上图所示

@liuweiran900217
Copy link
Collaborator

看了一下报错,我理解这是编译SEAL本身时候的问题,还不涉及到mpc4j。从错误上看,似乎是因为找不到�libz.a,我理解可以尝试参考https://github.com/microsoft/SEAL/issues/278,即本地执行`sudo apt-get install libz-dev。如果仍然不能成功,可以试试通过参数-DSEAL_USE_ZLIB=OFF`来关闭zlib。

另外,如果之前没有加-DBUILD_SHARED_LIBS=ON,则需要重新卸载SEAL(命令应该是cmake remove)后重新安装。

@Handikang
Copy link
Author

@liuweiran900217 我将参数-DSEAL_USE_ZLIB调整为OFF成功了,谢谢你

@liuweiran900217
Copy link
Collaborator

如果没有其他问题,那我close掉此issue。

@Handikang
Copy link
Author

Handikang commented Apr 19, 2024 via email

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

No branches or pull requests

2 participants