Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627588 - net-analyzer/net-snmp-5.7.3-r6 with dev-db/mariadb-10.2.7 - ./.libs/libnetsnmptrapd.so: undefined reference to `load_defaults'
Summary: net-analyzer/net-snmp-5.7.3-r6 with dev-db/mariadb-10.2.7 - ./.libs/libnetsnm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-08-12 04:00 UTC by Peter Levine
Modified: 2017-08-26 11:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-snmp-5.7.3-mariadb102.patch (net-snmp-5.7.3-mariadb102.patch,1.01 KB, patch)
2017-08-12 04:03 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Levine 2017-08-12 04:00:04 UTC
Building net-analyzer/net-snmp-5.7.3 against dev-db/mariadb-10.2.7 fails with:

> ./.libs/libnetsnmptrapd.so: undefined reference to `load_defaults'
> ./.libs/libnetsnmptrapd.so: undefined reference to `my_init'

Upstream tracker: https://jira.mariadb.org/browse/MDEV-13314
Fedora tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1470642
Comment 1 Peter Levine 2017-08-12 04:03:41 UTC
Created attachment 488666 [details, diff]
net-snmp-5.7.3-mariadb102.patch

Patch taken from Fedora: https://src.fedoraproject.org/rpms/net-snmp/blob/cd6759e4f3a2c6dd8d2dd0d8884f20d02f662164/f/net-snmp-5.7.3-mariadb102.patch
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-08-26 09:38:43 UTC
This is already a non-fatal problem with dev-db/mariadb-10.1.26:

snmptrapd_sql.c:447:5: warning: implicit declaration of function ‘load_defaults’ [-Wimplicit-function-declaration]
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2017-08-26 11:32:54 UTC
Fixed in 5.7.3_p3.