Skip to content

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

@qiyubio

Description

@qiyubio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions