I have added the dlsym snippet to smaug1.4a. I just added your hotboot snippet which works perfectly. The problem is in the code the dlsym tells me to put in the hotboot.c . I get the following errors when trying to compile.
hotboot.c: In function `do_hotboot':
hotboot.c:700: warning: implicit declaration of function `dlclose'
hotboot.c:705: warning: implicit declaration of function `dlopen'
hotboot.c:705: error: `RTLD_LAZY' undeclared (first use in this function)
hotboot.c:705: error: (Each undeclared identifier is reported only once
hotboot.c:705: error: for each function it appears in.)
hotboot.c:705: warning: assignment makes pointer from integer without a cast
Can someone help me out with the missing code or should I maybe check the AFKmud distribution for the missing pieces? Thanks in advance.