My ENGINE is working now. While developing, I simply linked
our support library in statically. I'm making changes to get
it ready to release now. I converted it to programmatically
link to a .so library at run-time, using the DSO routines, as
the other hw_xxxx modules do.
It blew up with a NULL pointer fault. I was surprised to discover
the reason - apparently, Configure assumes that FreeBSD and
FreeBSD-elf don't have any support for dynamic shared libraries!
The FreeBSD entries in Configure's $table don't appear to have
any mention of DSO support. I couldn't see any reason why FreeBSD
apps couldn't use DLFCN-style DSO, so I did a few temporary
hacks to build in DLFCN support, such as -DDSO_DLFCN in CFLAGS.
And it worked.
Has DSO support been used/tested by anyone on FreeBSD?
Is there some option I missed when I ran Configure
(I only noticed 'no-dso')? Did I miss some other obvious
step?
Please don't tell me I have to hack Configure - I love Perl,
but whoa, Configure is some seriously fuggly Perl... :-)
Tom Biggs
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]