Hi Andy,

great: -Bsymbolic solved the problem!

I'll try to pass that information over to the apache httpd project,
because that's useful for anyone who wants to build apache 2 with
dynamic mod_ssl but with OpenSSL linked in statically.

Thanks again!

Regards,

Rainer Jung
 
> > We have a problem building apache 2.0.55 with OpenSSL 0.9.8a. When
> > linking mod_ssl the linker gives an error:
> >
> > Text relocation remains                         referenced
> >     against symbol                  offset      in file
> > DES_SPtrans                         0x1220
> > /usr/local/workdir/bld/openssl/lib/libcrypto.a(des_enc-sparc.o)
> > ld: fatal: relocations remain against allocatable but non-writable
> sections
> 
> Make sure you link with -Bsymbolic. This resolves the relocation in
> question in proper manner. Linking with -Bsymbolic gives you a number
> of
> advantages. It's a tad faster and more secure. "Secure" means that it
> would be impossible for another module to override function
> definitions
> in your module and thus cause unexpected behaviour. In particular this
> means that different -Bsymbolic modules linked with different versions
> can coexist in same application.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to