RE: Option to use static link instead of shared object
"Simon Edwards" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <5F229A749060AE41AF846EC07FE6666C0790B36E@nwb-exchange.microfocus.com> |
I don't have an answer for UNIX installations, but I can confirm that this is also a problem area on Windows in 5.4 builds. I don't think many of us use static library support. Under Windows builds it will not link with static built OpenSSL libraries because gdi32.lib needs to be included on the link lines and -enable)static only affects the NetSNMP portions of the compilation and link lines. We probably need two extra config options if building using OpenSSL; first the default "use dynamic OpenSSL" second "use static OpenSSL" and include the correct support libraries in the two different cases. Regards, Simon Edwards Communications Software Development Micro Focus [email protected] <mailto:[email protected]> The Lawn, 22-30 Old Bath Road Newbury, Berkshire, RG14 1QN, UK ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Raymond Pau Sent: 06 August 2007 10:38 To: [email protected] Cc: net-snmp-users Subject: Re: Option to use static link instead of shared object 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. Did I miss something? ----- Original Message ----- From: rakesh zingade <mailto:[email protected]> To: [email protected] Cc: net-snmp-users <mailto:[email protected]> Sent: Monday, August 06, 2007 1:53 PM Subject: Re: Option to use static link instead of shared object On 8/6/07, Raymond Pau <[email protected]> wrote: Is there an option in configure to make snmpd use static link instead of shared libs(.so). Ie. instead of distributing 5 files (snmpd + 4 libnetsnmp*.so shared library), distribute 1 highly compact snmpd file without any external library dependancy. Thank you. ------------------------------------------------------------------------ - 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/ <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 You can create static net-snmp library.. Download net-snmp source and execute configure script with --enable-static option also see the help to set package options... -- Rakesh P. Zingade +919860129598 Click here <https://www.mailcontroller.altohiway.com/sr/Ajtj0MGvEh2aQ+42Lw7w9Z3tp9x el9rCnt8mI51!LDpUs3mhjHZ9faD+1Mzd3aTQboAFeMhcvjoEe+JggwQNxad8l1lOwtaFEfz kQJn2ZpQJ73k!h0yNJXQbss7eAVy1xOU4QWe0AqWn0YKB2MFHYbtheIBuFTY3mMfjsLafyWr Q5fQFtEK7clGbiexMX!S1PZvoD8nSW0exuQS2P9IuH846V9zsalNY> to report this email as spam. This message has been scanned for viruses by MailController <http://www.MailController.altohiway.com/> . ------------------------------------------------------------------------- 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