ldd can't find library in LD_LIBRARY_PATH

前端 未结 2 1304
难免孤独
难免孤独 2021-02-07 07:19

I\'m trying to get a system up and running, and am having problems with the OpenMotif shared libraries. I have their directory in LD_LIBRARY_PATH, but it still can\'t find them

相关标签:
2条回答
  • 2021-02-07 07:59

    The binaries I had were looking for the 32-bit versions of the shared libraries, I had the 64-bit installed. Stupid mistake. LDD didn't produce a very insightful error message, but the binary did when I tried to run it.

    0 讨论(0)
  • 2021-02-07 08:14

    Did you export LD_LIBRARY_PATH? the export keyword tells Bash to send any variables to subprocesses - otherwise ldd will never see LD_LIBRARY_PATH.

    0 讨论(0)
提交回复
热议问题