On Tue, 26 Dec 2006 10:52:51 +0800 Alexi wrote:
AZ> I am developing a subagent for our product which will be deployed on
AZ> different Linux platform (redhat 3,4/Suse 9,10).
AZ> Our devlopment platfom is redhat enterprise 3 which uses net-snmp 5.0.9. the
AZ> "net-snmp-config --agent-libs" returns the follwowing result:
AZ> -L/usr/lib -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lnetsnmp -ldl
AZ> -lrpm -lrpmio -lpopt -lbz2 -lz -lcrypto -lelf -lm -L/usr/lib/lib -lwrap
AZ> 
AZ> So our product links the following share libraries:
AZ> libnetsnmpmibs.so.5
AZ> libnetsnmpagent.so.5
AZ> libnetsnmphelpers.so.5
AZ> libnetsnmp.so.5
AZ> librpm-4.2.so
AZ> libwrap.so.0
AZ> 
AZ> After deploying our product to Suse 10, I got the following problems:

By deploying, do you mean 'copying a dynamically linked executable from RHEL3
to Suse 10'? If so, this is not ever a good idea. If you have multiple
deployment platforms, you have 2 options: build a subagent for each target, or
build a single target statically (for each architecture, of course).

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to