From: Jerome J. <Jer...@fe...> - 2000-12-08 10:02:18
|
version : ucd-snmp version 4.2 system : SunOS gleipnir 5.7 Generic_106541-11 sun4u sparc SUNW,Ultra-250 protocol : AgentX Hello, Fisrt off, thanks very much ! ni...@ba... wrote: > > Please, post to ONE mailing list only. It is counterproductive to wade through > two, three or even four copies of the same mail! no, problemo, sorry. > Yes, the .a libraries are static version that, if used, is included at ld time what are lib*.la and lib*.lai ??? When are they used ??? > >After compiling a subagent, does it use the same dynamic libraries ? > >i.e.: if I copy the 3 libraries into /usr/stuff/lib, does the master > >agent AND subagents run well using LD_LIBRARY_PATH=/usr/stuff/lib ? > > Yes, dunamic libraries must be present at run-time. Your above should work, but > if you intend to install under /usr/stuff, why don't you just configure with > --prefix=/usr/stuff and do make install? > Just to be sure ... Thus, the 3 libraries (libucdagent - libucdmibs - libsnmp) are always the same. i.e.: they can be used at run time, by a subagent 'B' even if they have been produced by the Makefile during the compilation of a subagent 'A'. I'm not using 'make install' because the master agent and the subagents are not running on the SUN used for compilation. I'm making unix packages to make an install using unix command 'pkgadd'. Thanks again for all, Jerome |