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

Óscar Fuentes ofv at wanadoo.es
Sat Feb 5 11:47:51 PST 2011


Douglas Gregor <dgregor at apple.com> writes:

> On Feb 5, 2011, at 11:29 AM, bruce.r.stephens at gmail.com wrote:
>
>> 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?

The cmake build creates liblibclang.so on Unix:

add_clang_library(libclang
  CIndex.cpp
 ...

The configure/make build outputs libclang.so. I'll change the cmake
build.




More information about the cfe-dev mailing list