Bug 692581 - base/sha2.c conflicts with OpenSSL's libcrypto when static linking
Summary: base/sha2.c conflicts with OpenSSL's libcrypto when static linking
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Build Process (show other bugs)
Version: 9.04
Hardware: PC Linux
: P4 normal
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 09:08 UTC by Alan Hourihane
Modified: 2011-12-07 15:42 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2011-10-11 09:08:26 UTC
I get duplicate symbols of SHA256_Init, SHA256_Update, SHA256_Transform and SHA256_Final.

So I guess base/sha2.c should be disabled when openssl is available ?
Comment 1 Chris Liddell (chrisl) 2011-12-07 15:42:42 UTC
Should be fixed by (ahem!) your patch:
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f52122

Thanks again!