mercredi 24 avril 2019

Whether the directory set by "LD_LIBRARY_PATH" will find its subdirectory?

I want to run a c++ code with lib.so and set the "LD_LIBRARY_PATH=/apollo/bazel-bin" but the lib.so is in "/apollo/bazel-bin/python", then I got the error can't find the lib.so.
Whether the directory set by "LD_LIBRARY_PATH" will find its subdirectory? I have some lib.so in "/apollo/bazel-bin/a" "/apollo/bazel-bin/b" and "/apollo/bazel-bin/c", I don't want to set 3 dir but "/apollo/bazel-bin/"?

Aucun commentaire:

Enregistrer un commentaire