diff options
| author | MiWCryptAnalytics <MiWCryptAnalytics@gmail.com> | 2017-02-18 14:13:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-18 14:13:30 -0500 |
| commit | 2e8306b341ef7fc9343b3fd6da0cb16ee42d550f (patch) | |
| tree | a9db77939c04cf59780eaa525f65660c1022afd8 | |
| parent | c6688dc876d4ab8e0cea6f34f4607bf3be9a3648 (diff) | |
| download | monzero-gui-2e8306b341ef7fc9343b3fd6da0cb16ee42d550f.tar.gz monzero-gui-2e8306b341ef7fc9343b3fd6da0cb16ee42d550f.tar.xz monzero-gui-2e8306b341ef7fc9343b3fd6da0cb16ee42d550f.zip | |
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
| -rw-r--r-- | monero-wallet-gui.pro | 1 |
1 files changed, 1 insertions, 0 deletions
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, |
