Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang.cindex.LibclangError: libclang-14.so: cannot open shared object file #63

Open
Ashutosh-Londhe opened this issue Sep 14, 2023 · 2 comments
Labels
pypi Issues about pypi distributions question Further information is requested

Comments

@Ashutosh-Londhe
Copy link

Hi

I have installed a python package for clang and libclang version 14.0.6 and tried using it for one of the project i am working on

but i am getting following error
clang.cindex.LibclangError: libclang-14.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().

I am not getting this error when using LLVM library and setting LIBCLANG_PATH variable pointing to linclang.so.14 file

any other setup i have to do if i want to use python libclang package instead of llvm library??

@sighingnow
Copy link
Owner

Hi @Ashutosh-Londhe,

May I know more about the detail of your platform? (e.g., os version, python version).

@sighingnow sighingnow added question Further information is requested pypi Issues about pypi distributions labels Mar 17, 2024
@Ashutosh-Londhe
Copy link
Author

Hi @sighingnow
I was trying on Debian 4.19.208-1 with Python3.9

another strange thing is, if you first install and then --force-install, it will fix the above mentioned problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pypi Issues about pypi distributions question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants