[Bug 1814254] [NEW] libnetsnmptrapd should be linked against MySQL client library
Andreas Hasenack
andreas at canonical.com
Fri Feb 1 12:50:18 UTC 2019
Public bug reported:
libnetsnmptrapd has mysql unresolved symbols:
root at disco-snmp:~# ldd -r /usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3|grep ^undefined
undefined symbol: my_init (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: my_load_defaults (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_sqlstate (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_stmt_errno (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_commit (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_stmt_init (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_stmt_prepare (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_errno (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_stmt_close (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_server_end (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_real_connect (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_close (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_stmt_error (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_init (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_insert_id (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_error (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_stmt_execute (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_stmt_bind_param (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_autocommit (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
undefined symbol: mysql_stmt_sqlstate (/usr/lib/x86_64-linux-gnu/libnetsnmptrapd.so.30.0.3)
This doesn't seem to cause immediate problems in ubuntu at least, since
snmptrapd (the daemon) is linked with mysql.
The other "consumer" of libnetsnmptrapd is libsnmp-perl, but that also
doesn't seem to have problems loading the library.
Still, there are bugs in Fedora and Debian about this, and one was filed
upstream too, and it seems correct to add the proper linking, as
libnetsnmptrapd is not just a plugin that is dlopen()ed at runtime.
** Affects: net-snmp (Ubuntu)
Importance: Medium
Assignee: Andreas Hasenack (ahasenack)
Status: In Progress
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/1814254
Title:
libnetsnmptrapd should be linked against MySQL client library
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1814254/+subscriptions
More information about the Ubuntu-server-bugs
mailing list