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

compilation issue #1851

Open
ziojacky opened this issue Nov 3, 2024 · 3 comments
Open

compilation issue #1851

ziojacky opened this issue Nov 3, 2024 · 3 comments

Comments

@ziojacky
Copy link

ziojacky commented Nov 3, 2024

i compile using the latest source code this error will occur,and pppoe network card ip will be forced to reverse resolve to the current device hostname

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libcrypto.a(libcrypto-lib-bio_sock.o): in function `BIO_gethostbyname':
(.text+0x81): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

@PikuZheng
Copy link
Contributor

what's the version of static openssl you're using?

@ziojacky
Copy link
Author

ziojacky commented Nov 3, 2024

what's the version of static openssl you're using?

use the latest system-installed (OpenSSL 3.0.14)

@PikuZheng
Copy link
Contributor

Maybe you need the openssl source files and compile it so it is statically linked

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

2 participants