pymumu / smartdns

A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT。
https://pymumu.github.io/smartdns/
GNU General Public License v3.0
8.49k stars 1.09k forks source link

compilation issue #1851

Open ziojacky opened 2 weeks ago

ziojacky commented 2 weeks ago

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 commented 2 weeks ago

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

ziojacky commented 2 weeks ago

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

use the latest system-installed (OpenSSL 3.0.14)

PikuZheng commented 2 weeks ago

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