[LLVMdev] assert problem embedding llvm libs in linux - stuck
Graham Wakefield
lists at grahamwakefield.net
Tue Mar 31 21:32:05 PDT 2009
Thanks, I thought that might be the issue... on OSX I had them linked
only to the shared library, but on Linux I was having unresolved
symbols when the libs were not linked to both shared lib and
application. Need to get more familiar with Linux development...
Anyway, thanks again
On Mar 31, 2009, at 4:15 PM, Mike Stump wrote:
> On Mar 31, 2009, at 3:58 PM, Graham Wakefield wrote:
>> I'm not so familiar with the internals of LLVM nor standard practices
>> for development on Linux, so I wondered if there is an experienced
>> developer on the list who can spot the problem immediately...?
>
> Sure, you can't have two copies of the libraries that can see each
> other. Put them into one shared library used by both sides, if they
> are meant to be shared, or separate them out completely, if they are
> not meant to be shared. If you separate them out, run nm, and see if
> there is _any_ routine that comes from llvm (or clang) in the thing
> that has clang in it on the link line.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list