As for libz.so ... think it should be trying to load libz.dylib as that is the only thing that will exist on the system (since MacOSX differentiates between DSO's and Dynamic Libraries, but you can still dlopen() a .dylib, just dlclose() won't actually do anything as it will remain loaded in your memory space).
Not sure the best way to resolve that since the engines are built with the extension '.so', so you can't just globally do an #ifdef __APPLE__ and depend on '.dylib's ... Proper way would probably be to either try _both_ forms on MacOSX, or a less reliable way would be to search the library paths yourself for both files, or possibly even just have openssl generate the engines with the extension of .dylib but actually be DSO's and depend on the 'dylib' naming... Couldn't tell you anything about the 'gmp' engine error you got though. -Brad Richard wrote: > hi all, > > i'm thinking this needs "big brain" attention on the dev list ... > > i've 0.9.8b built from src on OSX 10.4.7. > > fwiw, i'm attempting to implement TLS in a Cyrus IMAPd server. > > when i test the server's install with: > > % openssl s_client -connect mail.testdomain.com:993 -showcerts > > i get: > > 16458:error:25066067:DSO support routines:DLFCN_LOAD:could not load the > shared library:dso_dlfcn.c:162:filename(libz.so): dlopen(libz.so, 2): > image not found > 16458:error:25070067:DSO support routines:DSO_load:could not load the > shared library:dso_lib.c:244: > CONNECTED(00000003) > ... > > googl'ing returns: > > http://tinyurl.com/gtywf > > which seems to imply that there are issues with "dynamic engine loading". > > doing a little checking, fyi: > > /usr/local/ssl/lib/engines > ls > lib4758cca.so libaep.so libatalla.so libchil.so libcswift.so > libgmp.so libnuron.so libsureware.so libubsec.so > > > and, i note: > > > % cd /usr/local/ssl/lib/engines > % ls > lib4758cca.so libaep.so libatalla.so libchil.so libcswift.so > libgmp.so libnuron.so libsureware.so libubsec.so > > % openssl engine 4758cca > (4758cca) IBM 4758 CCA hardware engine support > > % openssl engine aep > (aep) Aep hardware engine support > > % openssl engine atalla > (atalla) Atalla hardware engine support > > % openssl engine chil > (chil) CHIL hardware engine support > > % openssl engine cswift > (cswift) CryptoSwift hardware engine support > > % openssl engine gmp > 16515:error:2506406A:DSO support routines:DLFCN_BIND_FUNC:could > not > bind to the requested symbol name:dso_dlfcn.c:261:symname(bind_engine): > dlsym(0x200e40, bind_engine): symbol not found > 16515:error:2506C06A:DSO support routines:DSO_bind_func:could > not bind > to the requested symbol name:dso_lib.c:294: > 16515:error:260B6068:engine routines:DYNAMIC_LOAD:DSO > failure:eng_dyn.c:463: > 16515:error:2606A074:engine routines:ENGINE_by_id:no such > engine:eng_list.c:415:id=gmp > > % openssl engine nuron > (nuron) Nuron hardware engine support > > % openssl engine sureware > (sureware) SureWare hardware engine support > > % openssl engine ubsec > (ubsec) UBSEC hardware engine support > > > which seems to imply that there's a (THE?) problem with the "gmp" engine. > > where to go next? > > thanks, > > richard > -- > > /"\ > \ / ASCII Ribbon Campaign > X against HTML email, vCards > / \ & micro$oft attachments > > [GPG] OpenMacNews at gmail dot com > fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6 ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]