[Bug 281935] net/frr9 bgpd rpki module libssh conflict

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Oct 2024 23:09:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281935

            Bug ID: 281935
           Summary: net/frr9 bgpd rpki module libssh conflict
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: olivier@freebsd.org
          Reporter: jason@tubnor.net
          Assignee: olivier@freebsd.org
             Flags: maintainer-feedback?(olivier@freebsd.org)

The bgpd_rpki.so module is being built against a different version of
security/libssh that is in ports.

This is an issue with frr9 and frr10 in either the quarterly or latest builds.

security/libssh in quarterly 4_9_6 where bgpd_rpki.so (librtr.so.0) expects
4_5_0 . Below is the relevant debugs:

# service frr restart bgpd
Checking intergrated config...
Checking vtysh.conf
OK
Starting bgpd.
frr_init: loader error: dlopen(/usr/local/lib/frr/modules/bgpd_rpki.so):
/usr/local/lib/libssh.so.4: version LIBSSH_4_5_0 required by
/usr/local/lib/librtr.so.0 not defined
frr_init: loader error: dlopen(/usr/local/lib/frr/modules/rpki.so): Cannot open
"/usr/local/lib/frr/modules/rpki.so"
frr_init: loader error: dlopen(rpki): Shared object "rpki" not found, required
by "bgpd"
/usr/local/etc/rc.d/frr: WARNING: failed to start bgpd

# ls -lsa /usr/local/lib/libssh*
469 -rw-r--r--  1 root  wheel  989304 Sep 21 13:22 /usr/local/lib/libssh.a
  1 lrwxr-xr-x  1 root  wheel      11 Sep 21 13:22 /usr/local/lib/libssh.so ->
libssh.so.4
  1 lrwxr-xr-x  1 root  wheel      15 Sep 21 13:22 /usr/local/lib/libssh.so.4
-> libssh.so.4.9.6
313 -rwxr-xr-x  1 root  wheel  496752 Sep 21 13:22
/usr/local/lib/libssh.so.4.9.6

-- 
You are receiving this mail because:
You are the assignee for the bug.