Jin*_*iDu 15 linux service library-path
我在Linux上有一个服务.
当我开始使用服务启动或启动时init.d.它无法加载已存储的配置/etc/ld.so.conf.d/.因此/etc/ld.so.conf.d/.,此服务无法启动加载库路径的某些进程.
但是当我在shell中运行此服务脚本时,它工作正常.
如何加载库路径/etc/ld.so.conf.d/?
非常感谢.
Chr*_*ung 27
你ldconfig最近跑过(作为根)吗?有一个由该程序更新的共享库缓存,如果您在/etc/ld.so.conf.d未运行ldconfig的情况下更新了文件,则缓存数据可能已过期.