From 2e8306b341ef7fc9343b3fd6da0cb16ee42d550f Mon Sep 17 00:00:00 2001 From: MiWCryptAnalytics Date: Sat, 18 Feb 2017 14:13:30 -0500 Subject: [PATCH] Potential fix for undefined reference 'dlsym' linux Fix for undefined reference including ldl. add -ldl to linux LIBS for Makefile. /usr/bin/ld: /tmp/ccYIfntN.ltrans11.ltrans.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' /usr/lib/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile:388: release/bin/monero-wallet-gui] Error 1 --- monero-wallet-gui.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro index 86564492..1b8a3624 100644 --- a/monero-wallet-gui.pro +++ b/monero-wallet-gui.pro @@ -214,6 +214,7 @@ linux { -lboost_program_options \ -lssl \ -lcrypto \ + -ldl \ -Wl,-Bdynamic \ -lGL # currently monero has an issue with "static" build and linunwind-dev,