<div dir="ltr">On 14 October 2013 08:42, Anton Smirnov <span dir="ltr"><<a href="mailto:dev@antonsmirnov.name" target="_blank">dev@antonsmirnov.name</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1891]:   185 could not load needed library 'libdl.so.2' for 'libclang.so.3.3' (load_library[1093]: Library 'libdl.so.2' not found)<br>
</div></div></blockquote><div></div></div><br></div><div class="gmail_extra">Hi Anton,</div><div class="gmail_extra"><br></div><div class="gmail_extra">libdl is required (as others) and probably not installed in your target system. You should be able to install it via yum/apt-get etc. </div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Installing Clang via packages would probably bring that dependency automatically, but you compiled it from scratch on a separate machine, so dependencies won't be met automatically.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">And, yes, Clang/LLVM libraries are huge, especially ones with debug symbols in it.</div><div class="gmail_extra"><br></div><div class="gmail_extra">cheers,</div>
<div class="gmail_extra">--renato</div></div>