clang_complete: where is the libclang.{so,dylib} in OS X?

Andrew Spott picture Andrew Spott · May 14, 2011 · Viewed 16.9k times · Source

I looked in the usual places (/usr/lib/,/Developer/usr/lib/,/usr/local/lib), and it isn't there.

If it isn't installed, does anyone know where I can find instructions to install it?

Thanks!

I'm not sure if I should close this, but I found the answer I was looking for:

In OS X, with XCode 4 installed, libclang.dylib is at /Developer/usr/clang-ide/lib/libclang.dylib

Answer

Pieter picture Pieter · Mar 23, 2012

With the latest (appstore) XCode 4.3.2, the location changed, it can now be found in

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib

The /Developer directory, among others, no longer exists by default. Everything is now packaged inside the XCode application, so that delta updates from the appstore work.