./a.out: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
even though:
$ echo $LD_LIBRARY_PATH
/home/exe/libcxx/lib:/home/exe/llvm/lib:/usr/local/lib
$ ls /usr/local/lib
libc++.so libc++.so.1 libc++.so.1.0 python2.7 python3.2
I even copied it next to the executable, still no effect.
What am I doing wrong?
/etc/ld.so.cachepermanently. You should only need to re-run if you add or remove libraries in that directory again (normallyapt-gethandles this step for you for packaged libraries under/usr). – Paul Jun 01 '13 at 16:57