Yep that got it.
Just to recap the steps for RH9 and openssl and aolserver.
cd /usr/local/src/aolserver
tar xzf /tmp/nsopenssl-2.1.tar.gz
cd nsopenssl-2.1
Change the folling line in /usr/local/src/aolserver/nsopenssl-2.1/Makefile CFLAGS += -I$(OPENSSL)/include -
to CFLAGS += -I$(OPENSSL)/include -I/usr/kerberos/include
change the folling line in /usr/local/src/aolserver/nsopenssl-2.1/thread.c #ifndef THREADS
to #ifndef OPENSSL_THREADS