I have an application that acts as a subagent under Linux

on a platform where Net-SNMP is installed from source.

 

I have created an RPM to install the application, and since

Net-SNMP was installed from source rather than from an

RPM, the netsnmpagent, netsnmp, and netsnmpmibs shared

libraries, which are dependants, are not known to the

RPM database.   As a result, I have considered performing

static linking of these libraries.

 

When building my application against the static builds

of Net-SNMP, there are a number of perl module methods

which are not available.   As a result, I have added

perl.so to my project's library path, although it is

not on the platforms library path.

 

I have built Net-SNMP using the default settings, which

includes embedded perl.   I have also built Net-SNMP

using the "--disable_embedded_perl" in an attempt to

not require that my project includes the perl shared

library.   For this configuration, my application fails

to connect via AgentX to the SNMP agent.

 

It would appear that building Net-SNMP w/o perl is

problematic, or clearly I do not fully understand

the role Perl has with Net-SNMP.

 

Perhaps someone can comment on my goals of static library

linking in combination with Net-SNMP build options,

with and without perl, and what I will loose in terms

of features if Net-SNMP is built without embedded perl.

 

Is this a bad way to go for Net-SNMP, i.e. are these some

unintended consequences.

 

 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to