[Arch Linux / AMD 显卡] 启动时报错 libcuda.so.*缺失,动态链接冗余 #733
Replies: 4 comments 2 replies
-
|
应用中是有本地ai功能的(利用ocr将手写笔记转换为文本节点),可以将aha的cuda feature移除 |
Beta Was this translation helpful? Give feedback.
-
|
Adding on similar bug report. |
Beta Was this translation helpful? Give feedback.
-
|
顺便说一下,上次v2大版本的时候还没有这个bug |
Beta Was this translation helpful? Give feedback.
-
从 Nightly 755 开始,文件名中不带 `gpu` 的文件为没有链接 `libcuda` 的版本
|
Beta Was this translation helpful? Give feedback.

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动态加载这些库,而不是在编译时硬链接。Beta Was this translation helpful? Give feedback.
All reactions