Open SethosII opened 2 years ago
Thank you for the suggestion, I've been considering that when I switched to htslib which pulled in a lot of these additional dependencies that can get very complex. There were a few arguments for the path I chose instead, with my own copy/branch of htslib, plus local copies of those dependencies needed to build htslib:
The first point above ended up not being the case so far (it was when I initially started porting stringtie to htslib, but meanwhile they added the API I needed). The other two points could likely be covered by using a better (real) build system, instead of the duct-tape makefile solutions I'm using -- admittedly I never got around to learn how to use autoconf or CMake properly.. and haven't been convinced they are worth the trouble.
@gpertea Thank you very much for the detailed explanation! So it will stay this way in the foreseeable future. For others running into issues or interested there are ways to work around this in the linked pull request above.
Currently, when you have dynamic libraries in your
LD_LIBRARY_PATH
and try to buildStringTie
you will get an error like below, because theMakefile
ofHTSlib
picks them up and doesn't build the static libraries, but yourMakefile
still expects them and in a fixed location:I created a patch for my case here: https://github.com/easybuilders/easybuild-easyconfigs/pull/15261. It would be better to solve this in this repository.