ChaissonLab / vamos

VNTR annotation using motif selection
GNU General Public License v2.0
29 stars 5 forks source link

error while loading shared libraries: libhts.so.3: cannot open shared object file: No such file or directory #2

Open qiyubio opened 1 year ago

qiyubio commented 1 year ago

While installing vamos with conda/mamba, there is error while trying to run vamos after make, the error is: "cannot open shared object file: No such file or directory".

ldd vamos is lacking library too. I modified the Makefile accordingly, and now it seems no errors

-PROF=/home1/jingwenr/.conda/envs/trf/lib
+PROF=$(CONDA_PREFIX)/lib
+EXTLIB=-L$(PROF) -Wl,-rpath,$(PROF)

 vamos: main.o io.o vcf.o vntr.o acc_lookup_table.o phase.o msa.o
-       $(CXX) $(CFLAGS) -o $@ $^ -L $(CONDA_PREFIX)/lib $(LIBS) -L ../static_lib/ -lalglib -ledlib -lrt
+       $(CXX) $(CFLAGS) -o $@ $^ $(EXTLIB) $(LIBS) -L ../static_lib/ -lalglib -ledlib -lrt
mchaisso commented 1 year ago

We are working on getting this into conda so that this isn't necessary, if that can't happen soon we'll include this compile.

maryamghr commented 11 months ago

I am facing the same problem, and changing the makefile as recommended by @qiyubio does not work either. Is there any update for this fixing issue?

mchaisso commented 11 months ago

Hi, vamos is now in conda, are you able to install from that?

maryamghr commented 11 months ago

Hi, Thanks for the quick reply. I successfully installed vamos with mamba.

Hanjunmin commented 5 months ago

Hi, Thanks for the quick reply. I successfully installed vamos with mamba.

hi, I meet the same questions, but i also can't install with conda, when I run conda install -c bioconda vamos==1.2.0 thre isn't have this package. and when run conda install -c bioconda vamos, there are many dependencies questions,but i intsall them with thre requirement.txt as reference. Can you help me? Thank you !

mchaisso commented 5 months ago

For now I'm directing people to build from git. I'll try pushing another release to conda now to see if this fixes the issues.

On Wed, Jun 12, 2024 at 9:23 AM Junmin @.***> wrote:

Hi, Thanks for the quick reply. I successfully installed vamos with mamba.

hi, I meet the same questions, but i also can't install with conda, when I run conda install -c bioconda vamos==1.2.0 thre isn't have this package. and when run conda install -c bioconda vamos, there are many dependencies questions,but i intsall them with thre requirement.txt as reference. Can you help me? Thank you !

— Reply to this email directly, view it on GitHub https://github.com/ChaissonLab/vamos/issues/2#issuecomment-2163449599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKPGPROUDU46YZPEFK6IEDZHBYWJAVCNFSM6AAAAABJGWNIDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTGQ2DSNJZHE . You are receiving this because you commented.Message ID: @.***>