2021/09/09-2020/09/09
- 我的系統
lsb_release -a
- 查看和編輯動態庫組態檔ld.so.conf
ls -l /etc/ld.so.conf
![]()
cat /etc/ld.so.conf
![]()
sudo nano /etc/ld.so.conf
添加/home/ccdc/HKCapture/lib,這是我的程式的動態庫路徑,

更新配置
sudo ldconfig -v

問題解決,
注意:ld.so.cache的更新是遞增式的,就像PATH系統環境變數一樣,不是從頭重新建立,而是向上累加,只有重新開機,系統才從零開始建立ld.so.cache檔案,
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/300042.html
標籤:區塊鏈
