[cfe-dev] libclang.so vs liblibclang.so wrt cindex.py

Chad Colgur colgur at gmail.com
Mon Feb 7 12:53:42 PST 2011


Hi Oscar,
Do you happen to know the objectives of this binding? Is the plan to
completely wrap libclang? Will the nosetests eventually replace
c-index-test?

Thanks,
Chad


On Sat, Feb 5, 2011 at 12:06 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> bruce.r.stephens at gmail.com writes:
>
>>>> cindex.py tries to load libclang.so (on GNU/Linux), and that fails for
>>>> me because there isn't one.  All I have is liblibclang.so.  So what's
>>>> going on?
>>>
>>> Sounds like a build system bug. Are you building with configure/make
>>> or CMake?
>>
>> Looks like a bug in tools/libclang/CMakeLists.txt.  All other uses of
>> add_clang_library list names without the "lib" prefix.
>
> I'm pretty sure that the "lib" prefix was there for avoiding a collision
> with the `clang' target used for building the clang executable.
>
> I committed a fix.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>




More information about the cfe-dev mailing list