Re: dynamically loading a utility library

2005-04-11 Thread Michael P. Soulier
On 11/04/05 Robert Story did say: > I'm not sure, I've never actually played with the dynamic loading stuff. Give > it a whirl... Yup, it works. I just build a library, mitelsnmputil.so, and dynamically linked my net-snmp modules to it. Works great. Mike -- Michael P. Soulier <[EMAIL PROTECTE

Re: dynamically loading a utility library

2005-04-11 Thread Robert Story
On Sun, 10 Apr 2005 16:23:27 -0400 Michael wrote: MPS> On 10/04/05 Robert Story did say: MPS> > Why not just use dlopen() (or your os' equivalent) in the init MPS> > functions of the libraries that need the utility code? MPS> MPS> Yeah, that's an option. If I build the utility code as a shared lib

Re: dynamically loading a utility library

2005-04-11 Thread Michael P. Soulier
On 10/04/05 Robert Story did say: > Why not just use dlopen() (or your os' equivalent) in the init > functions of the libraries that need the utility code? Yeah, that's an option. If I build the utility code as a shared lib, and dynamically link the module against it, would that work also? I'm no

Re: dynamically loading a utility library

2005-04-11 Thread Robert Story
On Fri, 8 Apr 2005 15:14:05 -0400 Michael wrote: MPS> Is there a way I could dynamically load a module into net-snmp that is MPS> just for use by my mib modules? Why not just use dlopen() (or your os' equivalent) in the init functions of the libraries that need the utility code? -- NOTE: message