Closed yzongzjnu closed 5 years ago
This is a result of attempting to build a relocatable dynamic library (libhts.so) while using parts that have not been built to support position independent code (the libbz2.a).
To compile, you'll either need a libbz2.so dynamic library or a libbz2.a built using -fpic (or -fPIC) options in the compiler. Either that or disable bz2 support completely if the previous two are not an option, but beware this may make some (albeit rare) CRAM files unreadable.
It looks like you are missing the libbz2.so file. Try to reinstall it with
sudo apt-get install --reinstall libbz2-dev
and then make
again.
Thank you! I changed the environment from Windows 10 Subsystem Linux to Windows Bash and followed your suggestions. The problem solved!
Hi, may I have a hand on the following make error? Thanks!