Bug 53220 - error with openssl-1.0.1b
Summary: error with openssl-1.0.1b
Status: RESOLVED INVALID
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.4.1
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-12 09:15 UTC by tom wang
Modified: 2012-05-13 10:58 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tom wang 2012-05-12 09:15:19 UTC
when I configure only with --enable-ssl and with new compiled openssl-1.0.1b
it prompt the following error, and can not be continued

/usr/bin/ld: /opt/openssl/lib/libssl.a(s3_srvr.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/opt/openssl/lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
Comment 1 William A. Rowe Jr. 2012-05-12 15:44:58 UTC
You failed to build httpd and openssl in a compatible way, mixed up your pic or 
pie or 32/64 flags.  Not a bug, please ask the peer to peer users list for help.

bugzilla is reserved for software defects, not for troubleshooting.
Comment 2 Rainer Jung 2012-05-13 10:58:30 UTC
Sometimes adding "-Bsymbolic" to the mod_ssl link flags helps. For this add

 -Wl,-Bsymbolic

to the SH_LINK entry in modules/ssl/modules.mk.

Regards,

Rainer