epruesse / SINA

SINA - Reference based multiple sequence alignment
https://sina.readthedocs.io
GNU General Public License v3.0
42 stars 4 forks source link

Compile issue on Debian 10 (linker command line) #104

Open a1an77 opened 3 years ago

a1an77 commented 3 years ago

Compiling from sources on Debian 10 presents the following issue: libraries are not specified on the linked command line (error adding symbols: DSO missing from command line), which can be fixed by the following:

diff -ru SINA-1.7.2/Makefile.am SINA-1.7.2-patched/Makefile.am
--- SINA-1.7.2/Makefile.am  2020-12-13 21:00:11.000000000 +0100
+++ SINA-1.7.2-patched/Makefile.am  2021-11-03 13:23:50.239195452 +0100
@@ -144,7 +144,12 @@
     $(ARB_PROBE_LIBS) \
     $(ARB_HELIX_LIBS) \
     $(ARB_LIBS) \
-    $(CODE_COVERAGE_LIBS)
+    $(BOOST_FILESYSTEM_LIB) \
+    $(BOOST_PROGRAM_OPTIONS_LIB) \
+    $(BOOST_SYSTEM_LIB) \
+    $(CODE_COVERAGE_LIBS) \
+    $(TBB_LIB) \
+    $(TBB_MALLOC_LIB)

 src_sina_LDADD = $(sina_libs)