On Saturday 07 June 2003 13:26, you wrote: > On Sat, 7 Jun 2003 12:39:33 +0200 > > Zoran Vasiljevic <[EMAIL PROTECTED]> wrote: > > Huh, that was fast. > > Please add: > > > > extern void NsthreadsInit(void); > > extern void NsdInit(void); > > > > before the Ns_Main() function declaration. > > > > Zoran > > I have the same error message: > Ns_Tls: invalid key: 0: sould bee between 1 and 100 >
Please do not forget to "make install" after you compile. The problem with your dynamic loader is that it obviously does not automatically run the init procedure of shared libraries. AOLserver uses 2 shared libraries: the libnsthread.so and libnsd.so. Each of them has an init procedure. The libnsthread.so has NsthreadsInit() and libnsd.so has NsdInit(). These two are normally automatically called by the dynamic loader when it loads the nsd image in memory. Somehow, this does not happen on your system. So my advice was to explicitly load these two by hand. What I think now is that you're somehow hitting the old shared libraries. So, try "make install", go to /usr/local/aolserver and do: bin/nsd -f -t sample-config.tcl Please be sure that /usr/local/aolserver/lib/libnsd.so and /usr/local/aolserver/bin/nsd are really newly compiled. If this all does not help, we then have some more complicated case. Zoran -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list: http://www.aolserver.com/listserv.html List information and options: http://listserv.aol.com/