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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Ubuntu 10.04 64bit, probably other systems
    • Operating System:
      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

            Assignee:
            backlog-server-build Backlog - Build Team
            Reporter:
            dcrosta Daniel Crosta
            Participants:
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: