[SERVER-6347] can't link --ssl on fedora Created: 07/Jul/12  Updated: 10/Jul/12  Resolved: 10/Jul/12

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.1.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Fedora


Operating System: Linux
Participants:

 Description   

When I try to build with ssl, linking fails and says I need libcrypto. The SConstruct says we only link against libcrypto if we are "darwin". I think we should take out the condition and always link against libcrypto. It does link successfully for me if I take out the 'if'.

/usr/bin/ld: build/linux2/ssl/mongo/util/net/sock.o: undefined reference to symbol 'CRYPTO_set_id_callback'
/usr/bin/ld: note: 'CRYPTO_set_id_callback' is defined in DSO /lib64/libcrypto.so.10 so try adding it to the linker command line
/lib64/libcrypto.so.10: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
scons: *** [build/linux2/ssl/mongo/mongod] Error 1
scons: building terminated because of errors.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 10/Jul/12 ]

SERVER-3893

Generated at Thu Feb 08 03:11:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.