Linkage error on linux : undefined reference to 'c_zeroize(void*, unsigned long)'
Hi
There seems to be a linkage error on linux if you add HomomorphicEncryption as a dependency to a binary target and will try to build release configuration.
Error description:
```
live-caller-id-lookup-example/.build/x86_64-unknown-linux-gnu/release/PIRService.build/ReloadService.swift.o:Application+build.swift.o:function $s21HomomorphicEncryption3BfvO10dotProduct10ciphertext4withAA6PolyRqVyxAA5CoeffCGAA10CiphertextVyACyxGAA4EvalCG_AA9SecretKeyCyANGtKFZs6UInt32V_Tgm5Tf4xn_n:(.text+0x31bf2): error: undefined reference to 'c_zeroize(void*, unsigned long)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[1/2] Linking PIRService
* The terminal process terminated with exit code: 1.
```
Debug configuration builds fine
关闭于 2025-03-05 4 条评论