On October 25, 2005 11:06 am, Martin Del Vecchio wrote:
> I'm still looking for help with this problem.
>
> The uBSec support works in 0.9.7g with static linking.
> The uBSec support works in 0.9.7g with shared libraries.
> The uBSec support works in 0.9.8  with static linking.
> The uBSec support fails in 0.9.8  with shared libraries.

[snip]

> Here is the command line I use to build the test program:
>
> gcc -o test test.c  -I include ./libssl.a ./libcrypto.a -ldl
>
> It feels like this is such a major bug that it can't possibly be real,
> and I must be doing something wrong.

The problem is that if you do a "shared" build, the engines are built as 
shared-libraries too - that is, this is now the case but wasn't under 
0.9.7. Your code is calling ENGINE_load_ubsec() which doesn't exist in 
libcrypto, because when you call ENGINE_by_id("ubsec") it should fall 
back to automatically searching the default path to load the engine 
shared lib (libubsec.so). Let me know if this isn't the case, but from an 
initial glance that seems to be what you're hitting.

Cheers,
Geoff

-- 
Geoff Thorpe
[EMAIL PROTECTED]
http://www.geoffthorpe.net/

Self-interest and materialistic desire are parts of who we are, but
not all. To base a social and economic system on these traits is
dangerously fundamentalist.
  -- Joel Bakan

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

Reply via email to