Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6347

can't link --ssl on fedora

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.1.2
    • None
    • None
    • Fedora
    • Linux

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: