While freeradius has a pcap use flag, this seems to only decide whether libpcap gets pulled into the system and not whether freeradius is build against libpcap. This messes up binpkgs. Reproducible: Always Steps to Reproduce: 1. Have libpcap installed in the system. 2. Emerge freeradius with USE=-pcap 3. Freeradius gets built against libpcap 4. Create a binpkg of freeradius and install it on a host that does not have libpcap installed. 5. Witness freeradius fail to start on said host. Actual Results: radius ~ # /etc/init.d/radiusd start * Starting radiusd ... /usr/sbin/radiusd: error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or directory * start-stop-daemon: failed to start `/usr/sbin/radiusd' * Failed to start radiusd [ !! ] * ERROR: radiusd failed to start Expected Results: radius ~ # /etc/init.d/radiusd start * Starting radiusd ... radius ~ # ldd /usr/sbin/radiusd linux-vdso.so.1 (0x00007ffc19ffc000) libfreeradius-server.so => /usr/lib64/libfreeradius-server.so (0x00007391d11f4000) libfreeradius-radius.so => /usr/lib64/libfreeradius-radius.so (0x00007391d11b1000) libcrypto.so.1.1 => /usr/lib64/libcrypto.so.1.1 (0x00007391d0ef7000) libssl.so.1.1 => /usr/lib64/libssl.so.1.1 (0x00007391d0e66000) libtalloc.so.2 => /usr/lib64/libtalloc.so.2 (0x00007391d0e55000) libdl.so.2 => /lib64/libdl.so.2 (0x00007391d0e4d000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007391d0e2b000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007391d0df1000) libc.so.6 => /lib64/libc.so.6 (0x00007391d0c75000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007391d0c2f000) libcap.so.2 => /lib64/libcap.so.2 (0x00007391d0c24000) /lib64/ld-linux-x86-64.so.2 (0x00007391d12a2000) libpcap.so.1 => not found libz.so.1 => /lib64/libz.so.1 (0x00007391d0c08000) libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007391d0bee000)
anyone?
Hi, thanks for the report. It seems a similar issue to: https://bugs.gentoo.org/662074 I'm currently a bit busy and i haven't found a way to fix this without change the FreeRadius code. It's something that is been added on the previous maintainer. I will try to investigate on this in the next month. bye G.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c42cf46c03f80f53bd1cad1d287c50064509567a commit c42cf46c03f80f53bd1cad1d287c50064509567a Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-11 04:53:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-11 05:01:54 +0000 net-dialup/freeradius: add 3.2.0 Closes: https://bugs.gentoo.org/805269 Closes: https://bugs.gentoo.org/779631 Signed-off-by: Sam James <sam@gentoo.org> net-dialup/freeradius/Manifest | 1 + net-dialup/freeradius/freeradius-3.2.0.ebuild | 309 ++++++++++++++++++++++++++ 2 files changed, 310 insertions(+)