Bad version of python-clang in file cindex.py

Bug #1383737 reported by Jaroslaw
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
llvm-toolchain-3.4 (Ubuntu)
Confirmed
Undecided
Unassigned

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in llvm-toolchain-3.4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Kalle Raiskila (kraiskil) wrote :

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().

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.