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

Cannot build with openssl 3.3.1 #236

Open
devvick opened this issue Jul 9, 2024 · 2 comments
Open

Cannot build with openssl 3.3.1 #236

devvick opened this issue Jul 9, 2024 · 2 comments
Labels
build build issues

Comments

@devvick
Copy link
Contributor

devvick commented Jul 9, 2024

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
@lvgvspe
Copy link

lvgvspe commented Jul 30, 2024

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
Copy link

lvgvspe commented Jul 30, 2024

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.

@laduke laduke added the build build issues label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues
Projects
None yet
Development

No branches or pull requests

3 participants