本文介绍了LD_LIBRARY_PATH:无法打开共享对象文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,环境变量 LD_LIBRARY_PATH

I have a problem with environment variable LD_LIBRARY_PATH.

当我跑我的箱子,我得到这个错误信息:

When I run my bin, I get this error message:

./ BIGNUM:错误而载入共享库:liballjoyn.so:无法打开共享对象文件:没有这样的文件或目录

我说我的图书馆 LD_LIBRARY_PATH ,如:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:'/home/nyu-debian/Desktop/Stage-Kaliterre/Project/Projects/AllJoyn/core/alljoyn/build/linux/x86_64/release/dist/cpp/lib/liballjoyn.so'

我也试过:


  • 把-L 选项 - 不工作

  • 更改导出 ENV 与中端./bignum - 不工作

  • put -L option - not working.
  • change export by env with the ./bignum in the end - not working.

我所有的努力没有奏效...我还能尝试一下呢?

All my attempts didn't work... what else can I try?

我在Debian喘息。此命令的工作的最后一个周末,但现在不工作了。

I'm on Debian Wheezy. This command work last weekend, but now it doesn't work anymore.

推荐答案

LD_LIBRARY_PATH 路径的。因此,试试这个,如果没有库文件名:

LD_LIBRARY_PATH is a path. Therefore, try this, without the library file name:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:'/home/nyu-debian/Desktop/Stage-Kaliterre/Project/Projects/AllJoyn/core/alljoyn/build/linux/x86_64/release/dist/cpp/lib'

这篇关于LD_LIBRARY_PATH:无法打开共享对象文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 11:17