Re: Option to use static link instead of shared object

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 07/08/07, Raymond Pau <[email protected]> wrote:
> 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?

It should certainly be possible to extract the relevant bits of the OpenSSL
library, and link with them directly.  That's not something that anyone has
sat down and done, but if you're prepared to do the work, we'd love to hear
how you get on.

Alternatively, are you actually using SNMPv3 encryption and SHA-based
authentication?   If not, then try running

    ./configure --with-out-openssl .....

That should avoid picking up the crypto library altogether.

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.