[Arch Linux / AMD 显卡] 启动时报错 libcuda.so.*缺失,动态链接冗余 #733
Closed
YangInWinter
started this conversation in
Bug报告
Replies: 4 comments 2 replies
|
应用中是有本地ai功能的(利用ocr将手写笔记转换为文本节点),可以将aha的cuda feature移除 |
0 replies
|
Adding on similar bug report. |
0 replies
|
顺便说一下,上次v2大版本的时候还没有这个bug |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
系统配置
问题描述
project-graph无法启动,终端错误提示:安装
nvidia-utils提供libcuda.so.1后,仍然报错:运行
ldd $(which project-graph)后发现:稳定复现。
如果安装
nvidia-utils、cuda以及相关驱动,则至少需要5GB的磁盘空间,十分冗余。希望开发者能够调整一下编译逻辑,抠掉一些不必要的链接,避免强制依赖。
我的猜测:
AI猜测:
onnxruntime-node、sharp等)在编译时无条件链接进来的,导致DT_NEEDED中硬性依赖了这些 CUDA 库。AI 建议修复方向:
onnxruntime)在为通用 Linux 构建时 禁用 CUDA 支持,或者改为通过dlopen动态加载这些库,而不是在编译时硬链接。All reactions