Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
[BUG]关于用户动态库默认文件夹
Experiences and Insight
336
views ·
2
replies ·
To
floor
Go
ylxdxx
deepin
2020-08-07 01:16
Author
我不知道这是不是一个BUG,今天编译安装一个软件,完成后,运行时报加载动态文件的错误,看了一下,在`/usr/local/lib`有这个文件,但是还是报错,一度怀疑是自己编译的问题,网上转了大半天,发现居然是没有默认的加载文件夹
echo $LD_LIBRARY_PATH
Copy the Code
没有任何提示,设置好后可以正常运行
export LD_LIBRARY_PATH=/usr/local/lib
Copy the Code
Reply
Like 0
Favorite
View the author
All Replies
ylxdxx
deepin
2020-08-07 01:17
#1
这个不应该是默认设置吗?
Reply
Like 0
View the author
ylxdxx
deepin
2020-08-07 01:27
#2
好像是没有刷新的问题,即使重启也没有刷新,需要手动执行
sudo ldconfig
Copy the Code
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More