-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined symbol "netsnmp_enable_subagent" #14875
Comments
the Equivalent package on debian is |
Thanks for the reply @donaldsharp I have (and always did) have the If I tried to compile FRRwithout Is there anything I can help test to get this working as both our routers running PfSense and OpenSense have these issues with FRR (both being on FreeBSD) Thanks! |
I have replicated this locally. It looks as if we need an additional .so pulled in to resolve the symbol "netsnmp_enable_subagent". It is starting to look like they split out the agentx stuff into a seperate lib as this support is optional. This bug may affect other operating systems, which I shall also investigate. |
How did you searching go @rwgbsd Did you find what package might be missing in order to get FRR with SNMP to work? |
This is not a matter of a missing pacakge, net-snmp infact includes a library file with the netsnmp_enable_subagent" defined, but the frr compile code is not pulling in that library for some reason. Either the net-snmp package has changed or this has been broken for a very long time. I did not have time this past week to get back to this, hopefully I can atleast find out how wide spread the breakage is soon. Is anyone out there successfully running frr with net-snmp on ANY platform? Debian? Ubuntu? |
That makes sense @rwgbsd Did you by chance manage to find what (and where) is missing for the libs and might need to be pulled differently in to make SNMP with FRR? I can replicate this issue on Debain 12 with latest src from git (followed this guide: https://docs.frrouting.org/projects/dev-guide/en/latest/building-frr-for-debian12.html#install-required-packages)
|
This issue is stale because it has been open 180 days with no activity. Comment or remove the |
This issue will be automatically closed in the specified period unless there is further activity. |
Please fix |
Bumping this as it's still broken |
Describe the bug
To Reproduce
--with-snmp=agentx
into your./configure
bgpd -v
and looking for the--enable-snmp
bgpd -M snmp
to replicate the fatal errorExpected behavior
I expect that FRR will start up without lib and .so files missing.
Screenshots
Versions
Additional context
This has been an issue in OpenSense and PfSense and also FreeBSD ports when trying to enable SNMP with frr
The text was updated successfully, but these errors were encountered: