Repeat with: $ python >>> import clang.cindex >>> index = clang.cindex.Index.create() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/clang/cindex.py", line 2047, in create return Index(conf.lib.clang_createIndex(excludeDecls, 0)) File "/usr/lib/python2.7/dist-packages/clang/cindex.py", line 141, in __get__ value = self.wrapped(instance) File "/usr/lib/python2.7/dist-packages/clang/cindex.py", line 3344, in lib lib = self.get_cindex_library() File "/usr/lib/python2.7/dist-packages/clang/cindex.py", line 3375, in get_cindex_library raise LibclangError(msg) clang.cindex.LibclangError: libclang-3.3.so: cannot open shared object file: No such file or directory. To provide a path to libclang use Config.set_library_path() or Config.set_library_file().
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1383737 Title: Bad version of python-clang in file cindex.py Status in “llvm-toolchain-3.4” package in Ubuntu: Confirmed Bug description: I have error: LibclangError: libclang-3.3.so: cannot open shared object file: No such file or directory. To provide a path to libclang use Config.set_library_path() or Config.set_library_file(). In file: /usr/lib/python2.7/dist-packages/clang/cindex.py In class Config we have function get_filename(self) , in this function in the last "else" is: file = 'libclang-3.3.so' I must improved version of libclang from 3.3 to 3.4. The line where is this error - 3361 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1383737/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp