[LLVMdev] Dynamic linking (dlopen/dlsym) against LLVM from a C program

Greg Stark stark at mit.edu
Wed Apr 1 19:15:17 PDT 2015


On Wed, Apr 1, 2015 at 11:21 PM, Jonathan Roelofs
<jonathan at codesourcery.com> wrote:
> That particular symbol is in libcxxabi. I think you need `-lcxxabi -lc++`

Thanks. That helped me track it down. What I actually needed was:

  -lc++abi -lstdc++

-- 
greg



More information about the llvm-dev mailing list