// $ zig build-exe test.zig -lc -lgmp --library-path /usr/lib/x86_64-linux-gnu/ -isystem /usr/include/x86_64-linux-gnu/ // Build Dependencies...lld: error: undefined symbol: mpz_init // >>> referenced by test.zig:9 (/mnt/data/Users/Travis/Documents/Code/zig/benchmarksgame/pidigits/test.zig:9) // >>> ./test.o:(main.0) const mpz_t = *@OpaqueType(); pub extern fn mpz_init(mpz_t) void; var tmp1: mpz_t = undefined; pub fn main() anyerror!void { mpz_init(tmp1); }