Hello Nils,
 
               The configure option you suggested works fine for Linux.
For HPUX it did not work. It worked only after adding -DENGINE_DYNAMIC_SUPPORT to the configure option.
 
Thanks,
Prakash

Nils Larsch <[EMAIL PROTECTED]> wrote:
prakash babu wrote:
> Hello All,
>
> I am using OpenSSL version 0.9.8 beta. I built this
> version successfully in HPUX.
>
> While using the engine command I am able to load *all the engines*
> except *libgmp.so*
>
> *1. openssl engine -vvvv dynamic -pre
> SO_PATH:/usr/lib/engines/lib4758_cca.so -pre LOAD
> *(dynamic) Dynamic engine loading support
> [Success]: SO_PATH:/usr/lib//engines/lib4758_cca.so
> [Success]: LOAD
> Loaded: (4758cca) IBM 4758 CCA hardware engine support
> SO_PATH: Specifies the path to the '4758cca' shared library
> (input flags): STRING
>
> 2. While loading the libgmp.so I get the following error
> *# openssl engine -vvvv dynamic -pre SO_PATH:/usr/lib/engines/gmp.so
> -pre LOAD
> *(dynamic) Dynamic engine loading support> [Success]: SO_PATH:/usr/lib/engines/libgmp.so
> [Failure]: LOAD
> 3562:error:2506806A:DSO support routines:DL_BIND_FUNC:could not bind to
> the requested symbol name:dso_dl.c:235:symname(bind_engine): Error 0
> 3562:error:2506C06A:DSO support routines:DSO_bind_func:could not bind to
> the requested symbol name:dso_lib.c:294:
> 3562:error:260B6068:engine routines:DYNAMIC_LOAD:DSO failure:eng_dyn.c:462:
>
> The libgmp.so does not have the symbol *bind_engine *where as all the
> other libraries have that symbols.
> *Note* : I have included the options *-DOPENSSL_USE_GMP -lgmp * while
> configuring OpenSSL.

hmm, works for me. I used
./config --prefix=/home/nils/ enable-gmp -DOPENSSL_USE_GMP -lgmp shared
as the configure command.

Nils
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to