linux · power · ppc64le · python · x86_64

linux: libclang on Ubuntu

libclang is the C/C++ Interface to Clang. In order to avoid the following error:


LibclangError: libclang.so: cannot open shared object file: No such file or directory.

Use one of the solutions below, according your architecture:

On x86_64:


cd /usr/lib/x86_64-linux-gnu/
sudo ln -s libclang-3.8.so.1 libclang.so

On ppc64le:


cd /usr/lib/powerpc64le-linux-gnu/
sudo ln -s libclang-3.8.so.1 libclang.so

More about Clang can be found at https://clang.llvm.org/doxygen/group__CINDEX.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s