Albert Chin wrote:
> On HP-UX, where -lnm is needed for open_mib(), why don't you add -lnm
> to the link line for _each_ shared library with open_mib? Ditto for
> -lperfstat for perfstat_memory_total() and perfstat_cpu_total() on
> AIX?
> 
> If shared libraries are created, unless they are meant to be loaded
> dynamically, they really should have all relevant libraries linked in,
> so programs linking against them don't need to also link in the extra
> libraries (-lnm, -lperfstat) for symbol resolution.

I agree and future releases will hopefully do better. See the "Re: Issue as
needed" thread on this list for recent discussion.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to