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

scons --ssl fails with "can't find stdc++ library" when libssl-dev (or similar) is not present, but libstdc++-dev is

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Build
    • None
    • Ubuntu 10.04 64bit, probably other systems
    • Build
    • ALL

    Description

      Here's the relevant snippet from config.log:

      gcc -o .sconf_temp/conftest_1 -fPIC -pthread -rdynamic .sconf_temp/conftest_1.o -L/usr/lib64 -L/lib64 -Wl,--start-group -Wl,--end-group -lm -lpthread -lssl -lstdc++
      /usr/bin/ld: cannot find -lssl
      collect2: ld returned 1 exit status
      scons: Configure: no

      The main issue here is that the error message "can't find stdc++ library which is needed" is misleading.

      Attachments

        Activity

          People

            backlog-server-build Backlog - Build Team (Inactive)
            dcrosta Daniel Crosta
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: