zeronsd icon indicating copy to clipboard operation
zeronsd copied to clipboard

Cannot build with openssl 3.3.1

Open devvick opened this issue 1 year ago • 2 comments

I maintain an AUR package of this software: https://aur.archlinux.org/packages/zeronsd Recently I got a comment that it doesn't build, so I tried myself and sure enough: https://gist.github.com/devvick/242f34025be390ba1d69830b241726e9 After hundreds of "undefined reference" errors it fails on:

/usr/bin/ld: /home/pit/build/PKGBUILDs/zeronsd/src/zeronsd-0.5.2/target/release/deps/zeronsd-98770bf246fbaadf: hidden symbol `OPENSSL_cpuid_setup' isn't defined
/usr/bin/ld: final link failed: bad value

devvick avatar Jul 09 '24 16:07 devvick

I maintain an AUR package of this software: https://aur.archlinux.org/packages/zeronsd Recently I got a comment that it doesn't build, so I tried myself and sure enough: https://gist.github.com/devvick/242f34025be390ba1d69830b241726e9 After hundreds of "undefined reference" errors it fails on:

/usr/bin/ld: /home/pit/build/PKGBUILDs/zeronsd/src/zeronsd-0.5.2/target/release/deps/zeronsd-98770bf246fbaadf: hidden symbol `OPENSSL_cpuid_setup' isn't defined
/usr/bin/ld: final link failed: bad value

I'm having the same error here, after trying building from git source and from cargo without success as well.

lvgvspe avatar Jul 30 '24 18:07 lvgvspe

I somehow managed it to work using debtap, with the .deb file (zeronsd_0.5.2_amd64.deb), after installing openssl-1.1 and removing the requirement for libssl from the .pkgbuild file generated from debtap.

lvgvspe avatar Jul 30 '24 18:07 lvgvspe