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

zks-crypto-x86_64-unknown-linux-gnu.a can not work #12

Open
loversmile opened this issue Mar 4, 2024 · 0 comments
Open

zks-crypto-x86_64-unknown-linux-gnu.a can not work #12

loversmile opened this issue Mar 4, 2024 · 0 comments

Comments

@loversmile
Copy link

zks-crypto-x86_64-unknown-linux-gnu.a can not use for linux

/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
./libs/libzks-crypto.a(std-8d61b92a0a02f53a.std.28dff6de-cgu.0.rcgu.o): In function `std::sys::unix::weak::fetch':
/rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c//library/std/src/sys/unix/weak.rs:150: undefined reference to `dlsym'
./libs/libzks-crypto.a(franklin_crypto-2e86df57e8eea714.franklin_crypto.168b6bed-cgu.9.rcgu.o): In function `std::f64::<impl f64>::log_wrapper':
franklin_crypto.168b6bed-cgu.9:(.text._ZN3std3f6421_$LT$impl$u20$f64$GT$11log_wrapper17h623b28ab73650d53E+0x2): undefined reference to `log'
./libs/libzks-crypto.a(num_bigint-5a4d7b699b41e4e2.num_bigint.882dae50-cgu.0.rcgu.o): In function `num_bigint::biguint::convert::<impl num_traits::cast::FromPrimitive for num_bigint::biguint::BigUint>::from_f64':
num_bigint.882dae50-cgu.0:(.text._ZN10num_bigint7biguint7convert90_$LT$impl$u20$num_traits..cast..FromPrimitive$u20$for$u20$num_bigint..biguint..BigUint$GT$8from_f6417h0fcf571f415a3fa1E+0x28): undefined reference to `trunc'
./libs/libzks-crypto.a(num_bigint-5a4d7b699b41e4e2.num_bigint.882dae50-cgu.0.rcgu.o): In function `<num_bigint::biguint::BigUint as num_integer::roots::Roots>::nth_root':
num_bigint.882dae50-cgu.0:(.text._ZN74_$LT$num_bigint..biguint..BigUint$u20$as$u20$num_integer..roots..Roots$GT$8nth_root17hdbd59797c4f40445E+0x1d7): undefined reference to `log'
num_bigint.882dae50-cgu.0:(.text._ZN74_$LT$num_bigint..biguint..BigUint$u20$as$u20$num_integer..roots..Roots$GT$8nth_root17hdbd59797c4f40445E+0x1e9): undefined reference to `exp'
./libs/libzks-crypto.a(num_bigint-5a4d7b699b41e4e2.num_bigint.882dae50-cgu.0.rcgu.o): In function `<num_bigint::biguint::BigUint as num_integer::roots::Roots>::cbrt':
num_bigint.882dae50-cgu.0:(.text._ZN74_$LT$num_bigint..biguint..BigUint$u20$as$u20$num_integer..roots..Roots$GT$4cbrt17hff75565f7b2ba276E+0x221): undefined reference to `cbrt'
./libs/libzks-crypto.a(num_bigint-5a4d7b699b41e4e2.num_bigint.882dae50-cgu.12.rcgu.o): In function `std::f64::<impl f64>::log_wrapper':
num_bigint.882dae50-cgu.12:(.text._ZN3std3f6421_$LT$impl$u20$f64$GT$11log_wrapper17h36312df2e35fc6b6E+0x2): undefined reference to `log'
./libs/libzks-crypto.a(num_bigint-5a4d7b699b41e4e2.num_bigint.882dae50-cgu.12.rcgu.o): In function `std::f64::<impl f64>::log_wrapper':
num_bigint.882dae50-cgu.12:(.text._ZN3std3f6421_$LT$impl$u20$f64$GT$11log_wrapper17hef18bb030d3e646eE+0x2): undefined reference to `log2'
./libs/libzks-crypto.a(num_bigint-5a4d7b699b41e4e2.num_bigint.882dae50-cgu.3.rcgu.o): In function `num_bigint::biguint::convert::from_radix_digits_be':
num_bigint.882dae50-cgu.3:(.text._ZN10num_bigint7biguint7convert20from_radix_digits_be17ha60840d754857fceE+0x24): undefined reference to `log2'
num_bigint.882dae50-cgu.3:(.text._ZN10num_bigint7biguint7convert20from_radix_digits_be17ha60840d754857fceE+0x57): undefined reference to `ceil'
./libs/libzks-crypto.a(num_bigint-5a4d7b699b41e4e2.num_bigint.882dae50-cgu.3.rcgu.o): In function `num_bigint::biguint::convert::to_radix_le':
num_bigint.882dae50-cgu.3:(.text._ZN10num_bigint7biguint7convert11to_radix_le17hc7341fa6dfc09871E+0x123): undefined reference to `log2'
num_bigint.882dae50-cgu.3:(.text._ZN10num_bigint7biguint7convert11to_radix_le17hc7341fa6dfc09871E+0x36c): undefined reference to `ceil'
num_bigint.882dae50-cgu.3:(.text._ZN10num_bigint7biguint7convert11to_radix_le17hc7341fa6dfc09871E+0x409): undefined reference to `ceil'
./libs/libzks-crypto.a(num_integer-d8866f714f867faa.num_integer.7e7be96a-cgu.0.rcgu.o): In function `<u64 as num_integer::roots::Roots>::nth_root::go':
num_integer.7e7be96a-cgu.0:(.text._ZN49_$LT$u64$u20$as$u20$num_integer..roots..Roots$GT$8nth_root2go17he503e5792c675311E+0x169): undefined reference to `log'
num_integer.7e7be96a-cgu.0:(.text._ZN49_$LT$u64$u20$as$u20$num_integer..roots..Roots$GT$8nth_root2go17he503e5792c675311E+0x17b): undefined reference to `exp'
./libs/libzks-crypto.a(num_integer-d8866f714f867faa.num_integer.7e7be96a-cgu.0.rcgu.o): In function `<u64 as num_integer::roots::Roots>::cbrt::go':
num_integer.7e7be96a-cgu.0:(.text._ZN49_$LT$u64$u20$as$u20$num_integer..roots..Roots$GT$4cbrt2go17hb73f506a2eb5a810E+0x1e8): undefined reference to `cbrt'
./libs/libzks-crypto.a(num_integer-d8866f714f867faa.num_integer.7e7be96a-cgu.0.rcgu.o): In function `<usize as num_integer::roots::Roots>::nth_root::go':
num_integer.7e7be96a-cgu.0:(.text._ZN51_$LT$usize$u20$as$u20$num_integer..roots..Roots$GT$8nth_root2go17h25f390539c816617E+0x169): undefined reference to `log'
num_integer.7e7be96a-cgu.0:(.text._ZN51_$LT$usize$u20$as$u20$num_integer..roots..Roots$GT$8nth_root2go17h25f390539c816617E+0x17b): undefined reference to `exp'
./libs/libzks-crypto.a(num_integer-d8866f714f867faa.num_integer.7e7be96a-cgu.0.rcgu.o): In function `<usize as num_integer::roots::Roots>::cbrt::go':
num_integer.7e7be96a-cgu.0:(.text._ZN51_$LT$usize$u20$as$u20$num_integer..roots..Roots$GT$4cbrt2go17hdb9d59a56e06bc31E+0x1e8): undefined reference to `cbrt'
collect2: error: ld returned 1 exit status
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

1 participant