[GH-ISSUE #349] Multiple definitions while building linux-x86-64-opencl in bleeding #88

Closed
opened 2026-10-14 02:52:08 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @sayan1an on GitHub (Jul 7, 2013).
Original GitHub issue: https://github.com/openwall/john/issues/349

/usr/local/lib/libcrypto.a(sha256.o): In function SHA256_Init': sha256.c:(.text+0x2b0): multiple definition ofSHA256_Init'
escrypt/sha256.o:sha256.c:(.text+0x1e20): first defined here
/usr/local/lib/libcrypto.a(sha256.o): In function SHA256_Update': sha256.c:(.text+0x3c0): multiple definition ofSHA256_Update'
escrypt/sha256.o:sha256.c:(.text+0x1e70): first defined here
/usr/local/lib/libcrypto.a(sha256.o): In function SHA256_Final': sha256.c:(.text+0x3f0): multiple definition ofSHA256_Final'
escrypt/sha256.o:sha256.c:(.text+0x20e0): first defined here

Originally created by @sayan1an on GitHub (Jul 7, 2013). Original GitHub issue: https://github.com/openwall/john/issues/349 /usr/local/lib/libcrypto.a(sha256.o): In function `SHA256_Init': sha256.c:(.text+0x2b0): multiple definition of`SHA256_Init' escrypt/sha256.o:sha256.c:(.text+0x1e20): first defined here /usr/local/lib/libcrypto.a(sha256.o): In function `SHA256_Update': sha256.c:(.text+0x3c0): multiple definition of`SHA256_Update' escrypt/sha256.o:sha256.c:(.text+0x1e70): first defined here /usr/local/lib/libcrypto.a(sha256.o): In function `SHA256_Final': sha256.c:(.text+0x3f0): multiple definition of`SHA256_Final' escrypt/sha256.o:sha256.c:(.text+0x20e0): first defined here
bsakaguchi 2026-10-14 02:52:08 +07:00
Author
Owner

@sayan1an commented on GitHub (Jul 12, 2013):

I'm using openssl-1.0.1e .

<!-- gh-comment-id:20854506 --> @sayan1an commented on GitHub (Jul 12, 2013): I'm using openssl-1.0.1e .
Author
Owner

@ukasz commented on GitHub (Jul 14, 2013):

Works fine with: OpenSSL 1.0.1c 10 May 2012

<!-- gh-comment-id:20931045 --> @ukasz commented on GitHub (Jul 14, 2013): Works fine with: OpenSSL 1.0.1c 10 May 2012
Author
Owner

@kholia commented on GitHub (Jul 22, 2013):

Does commit f10d16000c fix this problem?

<!-- gh-comment-id:21346322 --> @kholia commented on GitHub (Jul 22, 2013): Does commit f10d16000c4347e3b5c5ad1e409e48c1b0d78f4e fix this problem?
Author
Owner

@kholia commented on GitHub (Jul 22, 2013):

In the longer term, this duplicate implementation of sha-256 should go away.

<!-- gh-comment-id:21346393 --> @kholia commented on GitHub (Jul 22, 2013): In the longer term, this duplicate implementation of sha-256 should go away.
Author
Owner

@sayan1an commented on GitHub (Jul 22, 2013):

Works fine now. Thanks.

<!-- gh-comment-id:21347190 --> @sayan1an commented on GitHub (Jul 22, 2013): Works fine now. Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#88
No description provided.