Skip to content

更新到最新commit无法启动,总提示检查系统日志和配置是否合法。我的配置一直没问题! #2015

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

Open
zxlhhyccc opened this issue Jun 1, 2025 · 7 comments

Comments

@zxlhhyccc
Copy link
Contributor

zxlhhyccc commented Jun 1, 2025

回退后正常启动。

Image

@PikuZheng
Copy link
Contributor

日志怎么说?

@PikuZheng
Copy link
Contributor

看看系统里是不是没有安装这个包 libatomic1

@zxlhhyccc
Copy link
Contributor Author

zxlhhyccc commented Jun 2, 2025

@PikuZheng 没有日志,系统里没有libatomic1包,但编译配置里有libatomic,很奇怪为什么最终没有这个包?但安装了这个包仍然无法启动,还是是上面的问题。

Image

Image

Image

@PikuZheng
Copy link
Contributor

直接运行 /usr/sbin/smartdns -f -x -c /var/etc/smartdns/smartdns.conf -p /var/run/smartdns.pid 看有什么报错

@zxlhhyccc
Copy link
Contributor Author

zxlhhyccc commented Jun 2, 2025

@PikuZheng 应该是不兼容openssl的3.5.0版本问题:
#2017

root@OpenWrt:~# /usr/sbin/smartdns
Error relocating /usr/sbin/smartdns: BIO_meth_set_sendmmsg: symbol not found
Error relocating /usr/sbin/smartdns: BIO_meth_set_recvmmsg: symbol not found
Error relocating /usr/sbin/smartdns: SSL_handle_events: symbol not found
Error relocating /usr/sbin/smartdns: SSL_set_default_stream_mode: symbol not found
Error relocating /usr/sbin/smartdns: SSL_poll: symbol not found
Error relocating /usr/sbin/smartdns: SSL_write_ex2: symbol not found
Error relocating /usr/sbin/smartdns: OSSL_QUIC_client_method: symbol not found
Error relocating /usr/sbin/smartdns: SSL_new_stream: symbol not found
Error relocating /usr/sbin/smartdns: SSL_stream_reset: symbol not found
Error relocating /usr/sbin/smartdns: SSL_set_blocking_mode: symbol not found

@PikuZheng
Copy link
Contributor

我的release打包里有openssl的lib文件。。。你的随固件一起编译的就不知道了。

正常情况下编译时会检查openssl版本,如果编译不报错但使用时报错,应该是编译环境中的openssl版本高于使用环境的

@PikuZheng
Copy link
Contributor

大致查了一下64位系统可以不依赖libatomic,32位的需要

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