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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Ubuntu 10.04 64bit, probably other systems
    • Build
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: