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

./longPhase: error while loading shared libraries: libdeflate.so.0: cannot open shared object file: No such file or directory #2

Closed
yekaizhou opened this issue Sep 13, 2021 · 3 comments

Comments

@yekaizhou
Copy link

the installation is running smoothly but jumped out this issue when running longphase.

@ythuang0522
Copy link
Collaborator

Hi, can you create a clean virtual env (e.g., conda env) for installation? We can't reproduce the error but suspect this might be due to automatic search of libdeflate during htslib configuration (see below). It would be better if you could confirm any previous installation of libdefalte.

--with-libdeflate
    Libdeflate is a heavily optimized library for DEFLATE-based compression
    and decompression.  It also includes a fast crc32 implementation.
    By default, ./configure will probe for libdeflate and use it if
    available.  To prevent this, use --without-libdeflate.

@mailmrcai
Copy link

I have the same issue, solved by setting the environment variable.
export LD_LIBRARY_PATH=" your libdeflate path containing the file libdeflate.so.0"
I wonder this is caused by makefile

@twolinin
Copy link
Owner

Hi @mailmrcai

Thank you for your testing. I have some questions to ask here.

  1. Did you download the longphase_linux-x64.tar.xz or did you use git clone to compile and execute LongPhase?
  2. Did your environment have libdeflate installed before installing LongPhase?

Thanks
JH

@twolinin twolinin mentioned this issue Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants