Hi Tuomo, On 02/02/2021 12:52, Tuomo Soini wrote: > On Tue, 2 Feb 2021 08:46:52 +0100 > Wouter Wijngaards via Unbound-users <unbound-users@lists.nlnetlabs.nl> > wrote: > >> Hi, >> >> Unbound 1.13.1rc1 pre-release is available >> https://nlnetlabs.nl/downloads/unbound/unbound-1.13.1rc1.tar.gz >> sha256 >> c652c0a35165c97962f0cd503902b95096b3f3252d1bf9cefe5ab9e4910e4fec pgp >> https://nlnetlabs.nl/downloads/unbound/unbound-1.13.1rc1.tar.gz.asc > > Failed to build with rhel8 gcc.
It happens because --with-dynlibmodule is passed to ./configure. Looks like the dynlibmod configure code does not include -ldl correctly for other executables, the fix for linking on windows must have removed that from working. Commit with a fix that should make dynlibmod work for other executables whilst the link of the unbound executable works with the new link fix as well is https://github.com/NLnetLabs/unbound/commit/bc013b66ed1716a1a703cc98b4d8406e75a54fe7 You could also workaround with LIBS="-ldl" on or before the ./configure line. Best regards, Wouter > > /usr/bin/ld: .libs/dynlibmod.o: undefined reference to symbol > 'dlclose@@GLIBC_2.2.5' //usr/lib64/libdl.so.2: error adding symbols: > DSO missing from command line collect2: error: ld returned 1 exit status > /usr/bin/ld: .libs/dynlibmod.o: undefined reference to symbol > 'dlclose@@GLIBC_2.2.5' //usr/lib64/libdl.so.2: error adding symbols: > DSO missing from command line collect2: error: ld returned 1 exit status > >