Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1444

--enable-ssl and --enable-sasl autodetection broken

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      --enable-ssl and --enable-sasl don't reset the linker flags once it realizes the ssl or sasl libs don't work out as expected.
      https://evergreen.mongodb.com/task_log_raw/mongo_c_driver_gcc53_i386_debug_compile_noexperimental_98713feddcc334e667c0f7a0cff82c4f5a900dcd_16_08_02_21_55_22/0?type=T&text=true

      [2016/08/02 15:46:29.765]   SASL                                             : sasl2
      [2016/08/02 15:46:29.765]   SSL                                              : no
      
      [2016/08/02 15:47:35.089] /usr/bin/ld: cannot find -lssl
      [2016/08/02 15:47:35.089] /usr/bin/ld: cannot find -lcrypto
      [2016/08/02 15:47:35.089] /usr/bin/ld: cannot find -lsasl2
      

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: