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

pyvsag cannot be used #110

Open
chenlinzhong opened this issue Nov 3, 2024 · 2 comments
Open

pyvsag cannot be used #110

chenlinzhong opened this issue Nov 3, 2024 · 2 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@chenlinzhong
Copy link

Describe the bug
image

To Reproduce
Codes to reproduce the behavior:

// paste codes here

Environment

  • OS(e.g. Ubuntu 22.04):
  • vsag version(e.g. v0.11.0 or 7f94a27):
  • compiler version(e.g. GCC 11.4.0):
  • interface(cpp or python):

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@wxyucs wxyucs added the kind/bug Something isn't working label Nov 4, 2024
@wxyucs
Copy link
Collaborator

wxyucs commented Nov 4, 2024

@chenlinzhong Hi! Could you provide the operating system version?

Currently, pyvsag depends on a dynamic library(_pyvsag.cpython-310-x86_64-linux-gnu.so) which is built on Ubuntu, it may not be able to run on other operating systems, like CentOS.

@wxyucs wxyucs assigned chenlinzhong and unassigned wxyucs Nov 4, 2024
@jiacai2050
Copy link
Collaborator

jiacai2050 commented Nov 13, 2024

I'm testing pyvsag in centos:8 docker image, after pip install pyvsag, import also throw same errors:

>>> import pyvsag
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/.env/lib64/python3.9/site-packages/pyvsag/__init__.py", line 8, in <module>
    from _pyvsag import *
ModuleNotFoundError: No module named '_pyvsag'
>>> 

ldd show two issues:

  • libc version mismatch
  • ibgomp.so.1, ibquadmath.so.0 not found
[root@c1c3574c8127 ~]# ldd .env/lib/python3.9/site-packages/pyvsag/_pyvsag.cpython-310-x86_64-linux-gnu.so 
.env/lib/python3.9/site-packages/pyvsag/_pyvsag.cpython-310-x86_64-linux-gnu.so: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by .env/lib/python3.9/site-packages/pyvsag/_pyvsag.cpython-310-x86_64-linux-gnu.so)
.env/lib/python3.9/site-packages/pyvsag/_pyvsag.cpython-310-x86_64-linux-gnu.so: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /root/.env/lib/python3.9/site-packages/pyvsag/libvsag.so)
.env/lib/python3.9/site-packages/pyvsag/_pyvsag.cpython-310-x86_64-linux-gnu.so: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /root/.env/lib/python3.9/site-packages/pyvsag/libvsag.so)
.env/lib/python3.9/site-packages/pyvsag/_pyvsag.cpython-310-x86_64-linux-gnu.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /root/.env/lib/python3.9/site-packages/pyvsag/libvsag.so)
.env/lib/python3.9/site-packages/pyvsag/_pyvsag.cpython-310-x86_64-linux-gnu.so: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /root/.env/lib/python3.9/site-packages/pyvsag/libvsag.so)
.env/lib/python3.9/site-packages/pyvsag/_pyvsag.cpython-310-x86_64-linux-gnu.so: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /root/.env/lib/python3.9/site-packages/pyvsag/libgfortran.so.5)
.env/lib/python3.9/site-packages/pyvsag/_pyvsag.cpython-310-x86_64-linux-gnu.so: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /root/.env/lib/python3.9/site-packages/pyvsag/libgfortran.so.5)
.env/lib/python3.9/site-packages/pyvsag/_pyvsag.cpython-310-x86_64-linux-gnu.so: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /root/.env/lib/python3.9/site-packages/pyvsag/libgfortran.so.5)
        linux-vdso.so.1 (0x00007fffccd6f000)
        libvsag.so => /root/.env/lib/python3.9/site-packages/pyvsag/libvsag.so (0x00007fe66a3cd000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fe66a035000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fe669e1d000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fe669a58000)
        libgfortran.so.5 => /root/.env/lib/python3.9/site-packages/pyvsag/libgfortran.so.5 (0x00007fe669770000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fe6693ec000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe66aee7000)
        libgomp.so.1 => not found
        libquadmath.so.0 => not found

@wxyucs wxyucs assigned LHT129 and unassigned chenlinzhong Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants