I hope it isn't bad form to reply to my own message, but I still can't get this working and would love some help...
So far I've followed the learning curve and recompiled my OBSD to -stable. That didn't help, although it didn't hurt either. I've compiled the latest openSSL with the ZLIB option (I think that it is included by default anyway). That made no difference. I can start stunnel if I replace the zlib option with rle, but that doesn't help me. I need zlib. I tried compiling the latest stunnel but got a lot of errors which seemed to be due to missing functions. I added a #include or two to the source and got rid of some of the errors, but not all. I'm not that hot on this stuff so I'm getting a bit stuck on this route. I really would like to get stunnel working with zlib. Is there an easy way to tell if zlib has been compiled into openSSL and is working? At this point I still don't know where the problem lies. Cheers, Rick.