ablab/stringdecomposer

SD conda installation on a machine with old G++ (5.5.0)

Closed this issue · 3 comments

Local building works fine and tests run too (make test_launch).
However, if SD is installed via bioconda, SD fails with the following error:
error while loading shared libraries: libasan.so.5
which corresponds to G++-8 according to https://askubuntu.com/a/1024068
It is unclear why bioconda assumes that libasan.so.5 will be available.
In fact, only libasan.so.2 is available on that particular system.

asl commented

libasan.so.N is a runtime library of Address Sanitizer. The real culprit here is why someone is building something with asan turned on in "production" case?

asl commented

Oh, yes, Makefile reads:

build:
	mkdir -p $(BIN_DIR)
	${CXX} -o $(BIN_DIR)/dp $(SRC_DIR)/main.cpp $(SRC_DIR)/edlib.cpp -fopenmp --std=c++11 -O2 -Wall -Wextra -pedantic -Wshadow -Wfloat-equal -fsanitize=address

Which is a non-sense.

Thank you, Anton! I typically have a debug (with asan) and release (w/o asan) mode, but forgot to include them in this Makefile and accidentally made the debug mode — the only mode. I will temporarily remove asan and later may add both modes