You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/bin/ld: /usr/local/lib/libtorrent.a(diffie_hellman.o): undefined reference to symbol 'BN_num_bits@@OPENSSL_3.0.0'
/usr/bin/ld: /usr/local/lib64/libcrypto.so.3: error adding symbols: DSO missing from command line
I did some googling and found that adding -Wl,--copy-dt-needed-entries as CXXFLAGS solves this issue. I learnt that this flag ensures all required libraries are included even if not explicitly specified.
Can anyone tell me which library needs to be explicity specified?
The text was updated successfully, but these errors were encountered:
Need details on what you're compiling on, cpu/distro/compiler etc.
Here it is:
CPU: 13th Gen Intel(R) Core(TM) i5-1340P
Distro: Ubuntu 22.04
Compiler: gcc version 12.3.0 (Ubuntu 12.3.0-1ubuntu1~22.04) (Also tested with gcc v11)
Getting some unusual error while building rtorrent 0.10.0
DSO missing from command line
I use the same build parameters to build older versions but only this new version fails
Log
Exact Error
I did some googling and found that adding
-Wl,--copy-dt-needed-entries
as CXXFLAGS solves this issue. I learnt that this flag ensuresall required libraries are included even if not explicitly specified.
Can anyone tell me which library needs to be explicity specified?
The text was updated successfully, but these errors were encountered: