SINA icon indicating copy to clipboard operation
SINA copied to clipboard

Compile issue on Debian 10 (linker command line)

Open a1an77 opened this issue 4 years ago • 0 comments

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)
 

a1an77 avatar Nov 05 '21 17:11 a1an77