[SERVER-5050] scons --ssl fails with "can't find stdc++ library" when libssl-dev (or similar) is not present, but libstdc++-dev is Created: 23/Feb/12  Updated: 06/Dec/22  Resolved: 05/May/22

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Daniel Crosta Assignee: Backlog - Build Team (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 10.04 64bit, probably other systems


Assigned Teams:
Build
Operating System: ALL
Participants:

 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.


Generated at Thu Feb 08 03:07:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.