Patchwork [1/1] netsnmp: bugfix for openssl dependency

mail settings
Submitter Matt Weber
Date Sept. 5, 2013, 6:28 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/272929/
State Not Applicable
Headers show


Matt Weber - Sept. 5, 2013, 6:28 p.m.
FYI, I think this was actually a bug caused by the linaro 2013.06 
toolchain (GCC 4.8).  After fixing the netsnmp bug, I ran into another 
issue with quagga linking and a clock_gettime call.  At that point I 
reverted back to 2013.04 and things are functional.

Matthew L Weber / Sr Software Engineer / Platform SW 
MS 137-157, 855 35th Street NE, Cedar Rapids, IA, 52498, USA
Phone: 319-295-7349 / VPN: 295-7349 

CONFIDENTIALITY NOTICE:  This email message is intended only for the 
person or entity to which it is addressed and may contain confidential 
and/or privileged material.  Any unauthorized review, use, disclosure or 
distribution is prohibited.  If you are not  the intended recipient, 
please contact the sender by email and destroy all copies of the original 

From:   Matt Weber <>
Cc:     Matt Weber <>
Date:   09/05/2013 12:26 PM
Subject:        [PATCH 1/1] netsnmp: bugfix for openssl dependency

In the configure check of netsnmp (if using with openssl enabled)
it checks for openssl and gets a undefined reference to dl* error.
Adding an additional references to the libld.a lib resolves this bug.

Signed-off-by: Matt Weber <>
 package/netsnmp/ |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/package/netsnmp/ b/package/netsnmp/
index 806f7a6..7d31b9f 100644
--- a/package/netsnmp/
+++ b/package/netsnmp/
@@ -38,7 +38,8 @@  endif
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
                 NETSNMP_DEPENDENCIES += openssl
                 NETSNMP_CONF_OPT += \
- --with-openssl=$(STAGING_DIR)/usr/include/openssl
+ --with-openssl=$(STAGING_DIR)/usr/include/openssl \
+                                --with-libs=-ldl
                 NETSNMP_CONF_OPT += --without-openssl