./embed.elf
./embed.elf: error while loading shared libraries: libLLVM-3.2svn.so: cannot open shared object file: No such file or directory
Ok, thats simple to fix, i just want to preload the .so instead of install it:
LD_PRELOAD=/root/cling4/llvm/Release/lib/libLLVM-3.2svn.so ./embed.elf
TESTmuhaha!!! xDD a=0x0b53c8a0!
ERROR in cling::CIFactory::createCI():
resource directory /root/cling4/llvm/tools/cling/lib/clang/3.2 not found!
****************** CLING ******************
* Type C++ code and press enter to run it *
* Type .q to exit *
*******************************************
[cling]$
Ok, running, but it cant find the resource directory now. The normal “cling” just works fine.
Does anybody know how to tell ./embed the resource directory?