[Bug Report] Deepin WezTerm 包向终端子进程泄漏 LD_LIBRARY_PATH
Tofloor
poster avatar
uniqueding
deepin
2026-09-04 16:54
Author

通过桌面启动器启动 WezTerm 后,终端内的 shell 自动继承了:

LD_LIBRARY_PATH=/opt/apps/wezterm.org.wezfurlong/files/lib

该路径来自软件包的启动脚本:

/opt/apps/wezterm.org.wezfurlong/files/wezterm-gui

其中包含:

export LD_LIBRARY_PATH="${HERE}/lib"
exec wezterm-gui $*

这会将 WezTerm 私有目录中的 libssl.so.3 / libcrypto.so.3 暴露给所有终端子进程,覆盖系统或应用自身所需的动态库。

Reply Favorite View the author
All Replies
avatar
𰻞𰻝面
deepin
2026-09-04 18:50
#1

这不应该给wezterm反馈么

Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2026-09-05 03:25
#2

这个here的用法看起来好像和我当年打的包有点像。,主打简单粗暴

Reply View the author
avatar
Ligocut光剪视频剪辑软件
deepin
Backbone of ecological co-construction group
2026-09-05 10:52
#3

意思就是说在这个终端运行的所有程序获取LD_LIBRARY_PATH这个变量时都会是/opt/apps/wezterm.org.wezfurlong/files/lib

Reply View the author