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
Missing symbol in frr-10 for CentOS 7 #15894
Comments
After some testing this issue appears to only affect older installations. The frr rpm depends on On systems with an older installation they may incorrectly keep using libyang2 if it was already in use. At least for older systems force installing libyang over libyang1/2 will fix this until an upstream fix is made. |
Description
Libyang missing symbol needed for FRR, leading it to crash on CentOS 7. Frr depends on libyang1/libyang2 which don't have the symbol, but the libyang package (also from FRR repo) does have this symbol.
Perhaps the spec file should be updated to depend on the libyang package instead? Or the version of libyang2 should be bumped?
When installing the frr-10.0-01.el7.x86_64 RPM on CentOS 7, it crashes with the following error:
The frr package depends on libyang1 and libyang2 (packages libyang1-1.0.184-0.x86_64 and libyang2-2.0.7-1.el7.x86_64), which appear to be missing the symbol "ly_temp_log_options".
When forcefully removing libyang1 and libyang2 and installing libyang (libyang-2.1.128-1.el7.x86_64), FRR works correctly and the missing symbol exists.
Version
How to reproduce
Install frr-10 package on centos 7 and attempt to run.
Expected behavior
Program should run.
Actual behavior
Some daemons fail with missing symbol error.
/usr/lib/frr/bgpd: symbol lookup error: /usr/lib64/libfrr.so.0: undefined symbol: ly_temp_log_options
Failed to start bgpd!
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: