[CXX-740] wrong settings in SConstruct for --ssl option Created: 19/Nov/15 Updated: 11/Dec/15 Resolved: 11/Dec/15 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Build |
| Affects Version/s: | legacy-1.0.5, legacy-1.1.0-rc0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Vladimir Bayda | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | legacy-cxx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I ran into issue when tried to compile driver with -ssl option. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 11/Dec/15 ] | |||||||
|
bayda - I'm closing this issue as I haven't heard back from you with any further details. If you are still having trouble building the driver please feel free to re-open the ticket. | |||||||
| Comment by Andrew Morrow (Inactive) [ 07/Dec/15 ] | |||||||
|
Why are you using the --runtime-library-search-path option? It should not be necessary if your boost installation is properly done. | |||||||
| Comment by Vladimir Bayda [ 19/Nov/15 ] | |||||||
|
I use following scons command line I replaced long parts of pathes on /skipped/. | |||||||
| Comment by Andrew Morrow (Inactive) [ 19/Nov/15 ] | |||||||
|
Interestingly, it doesn't fail for me, either on OS X or on Linux. It is somewhat strange to me that this would fail. The executable itself doesn't have any dependencies on the C++ runtime symbols. The boost library of course does, but I would expect that libboost_regex.so, for instance, would have a DT_NEEDED entry for libstdc++ and libgcc_s.so. On my system, for instance:
Are you passing any extra flags to the build system? What does your SCons invocation look like? Does your boost_regex have a DT_NEEDED entry for the C++ runtime libraries? | |||||||
| Comment by Vladimir Bayda [ 19/Nov/15 ] | |||||||
|
libboost_regex.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8' It happens because it compiles file with gcc instead of g++ and links -lboost_regex -lboost_thread -lboost_system | |||||||
| Comment by Andrew Morrow (Inactive) [ 19/Nov/15 ] | |||||||
|
Thanks for the bug report. What error is emitted in the config.log when linking that way? |