Ok. That successully removed the 4 libnetsnmp*.so shared library dependency
and I get to save approximately 1MB disk space.
But snmpd is still linked to libcrypto.so which is more than 1MB.
Does snmpd required all 1MB of libcrypto.so?
Can snmpd be configured to statically link only those functions required
rather than putting in the 1MB shared library?

Thanks.

----- Original Message -----
From: "Dave Shield" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "net-snmp-users" <[email protected]>
Sent: Monday, August 06, 2007 5:39 PM
Subject: Re: Option to use static link instead of shared object


> On 06/08/07, Raymond Pau <[EMAIL PROTECTED]> wrote:
>> Ok. The --enable-static builds the static library (ex. libnetsnmp.a);
>> But make install did not build snmpd with the static library; it is still
>> linking to the shared library.
>
> Try
>     configure --enable-static --disable-shared
>
> If you don't build the shared libraries, then the agent can't link to
> them! :-)
>
> Dave
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>
>



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to