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