I have a problem with environment variable LD_LIBRARY_PATH
.
When I run my bin, I get this error message:
./bignum: error while loading shared libraries: liballjoyn.so: cannot open shared object file: No such file or directory
I added my library to LD_LIBRARY_PATH
, like:
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'
I also tried:
put -L
option - not working.export
by env
with the ./bignum in the end - not working.All my attempts didn't work... what else can I try?
I'm on Debian Wheezy. This command work last weekend, but now it doesn't work anymore.
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'
Try with this :
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
Without liballjoyn.so
because LD_LIBRARY_PATH is a path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With