I got major problems getting a shared libcrypto library compiled under OpenBSD 
2.8. I tried a variety of different versions of openssl (starting with 
0.9.6a) but had no luck.

The last command invoked is AFAIK the linker command which goes like
gcc -shared -o libcrypto.so.0.9.7 -Wl,-soname=libcrypto.so.0.9.7 
-Wl,-Bsymbolic -Wl,--whole-archive libcrypto.a -Wl,--no-whole-archive -L. -lc

It yields a huge list of errors like 

/usr/lib/libc.so.25.2: Definition of symbol `___fixdfdi' (multiply defined)
/usr/lib/libc.so.25.2: Definition of symbol `___divdi3' (multiply defined)
/usr/lib/libc.so.25.2: Definition of symbol `___muldi3' (multiply defined)
/usr/lib/libc.so.25.2: Definition of symbol `___ashldi3' (multiply defined)
....
/usr/lib/gcc-lib/i386-unknown-openbsd2.8/2.95.3/libgcc.a(__main.o): Definition 
of symbol `__exit_dummy_ref' (multiply defined)
/usr/lib/gcc-lib/i386-unknown-openbsd2.8/2.95.3/libgcc.a(__main.o): Definition 
of symbol `___do_global_ctors' (multiply defined)
/usr/lib/gcc-lib/i386-unknown-openbsd2.8/2.95.3/libgcc.a(__main.o): Definition 
of symbol `___main' (multiply defined)
.....
/usr/src/gnu/egcs/gcc/libgcc2.c:1981: Definition of symbol `___bb_exit_func' 
(multiply defined)
/usr/src/gnu/egcs/gcc/libgcc2.c:1981: Definition of symbol `___bb_init_func' 
(multiply defined)


and so on.

Is this a known problem and is there a work around ?

Cheers

Rudi

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

Reply via email to