I have a program that compiled fine on Ubuntu ARM (12.04) but it cannot run due to linking errrs. e.g. libX11.so.6 cannot be found, however it is clearly in
/usr/lib/arm-linux-gnueabihf ldconfig -v shows it as well
What's weird is when I pass LD_LIBRARY_PATH=/usr/lib/arm-gnueabihf/ to ldd (after the shared library), I get the message
ldd: LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/: No such file or directory
While the directory clearly exists. What could be going wrong? I ran sudo ldconfig.