alibaba-edu / mpc4j

Apache License 2.0
211 stars 42 forks source link

FATAL_ERROR "Could not find FOUQ" #17

Closed zhangtingchuang666 closed 9 months ago

zhangtingchuang666 commented 1 year ago

I encountered this error when compile 'mpc4j-native tool',and I use ubuntu 22.04. I compile passed after I changed the address to absolute address. I observed that the fourq library was included under the address 'mpc4j/mpc4j-native-fourq' and there was no mention of installing fourq in compile_ubuntu.md, I did not install fourq separately. So, this problem is probably of my own making.

liuweiran900217 commented 1 year ago

Thanks for the feedback. I think I need to update compile_ubuntu.md to request users to compile and install the library in mpc4j-native-fouq. I will leave this issue as open and close that in the future when we release v1.0.9.

lushimeng commented 1 year ago

During the process of compiling mpc4j-native tool, I also encountered the same problem as the blogger: a065abf9248d8fe1074f3bd8e66f201

According to your suggestion, I compiled mpc4j-native-fourq first and passed it successfully: fa9ec360bc2f58970de102c7609488e

Compiling mpc4j-native tool again still reports an error: d2ba70997a0e3b43e082a04af6b7e2d

How did you solve it? Looking forward for your reply, thank you.

liuweiran900217 commented 1 year ago

Fourq is treated as an independent library in mpc4j. Therefore, you need to install fourq. In short, after you run ‘make’ for fourq, you need to further run ‘sudo make install’. Sorry for TYPOs in my reply since I wrote by my phone.

lushimeng commented 1 year ago

The problem has been solved. I performed sudo make install in my compiled file cmake-build-release, and then compiled mpc4j-native-tool again and it was successful. Thank you very much for your help

------------------ 原始邮件 ------------------ 发件人: "alibaba-edu/mpc4j" @.>; 发送时间: 2023年9月11日(星期一) 晚上8:35 @.>; @.**@.>; 主题: Re: [alibaba-edu/mpc4j] FATAL_ERROR "Could not find FOUQ" (Issue #17)

You need to install fours, that is, in mpc4j-native-fourq/build, run sudo make install.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

liuweiran900217 commented 1 year ago

I have updated README.md, telling users to install fourq. Please take a look and see if this issue has been solved and close the issue if it is.