[CXX-1777] Install error because can not link to boost and python2 Created: 28/May/19 Updated: 09/Sep/19 Resolved: 09/Sep/19 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | chau phuong | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux, on cluster server. |
||
| Description |
I load python2 and boost/1.69.0
`scons: Reading SConscript files ... scons version: 3.0.5 python version: 2 7 10 'final' 0 Checking whether the C++ compiler works... (cached) yes Checking whether the C compiler works... (cached) yes Checking if C++ compiler "g++" is GCC... (cached) yes Checking if C compiler "gcc" is GCC... (cached) yes Checking if C compiler supports -Wno-unused-local-typedefs... (cached) no Checking if C compiler supports -Wno-unused-function... (cached) yes Checking if C compiler supports -Wno-unused-private-field... (cached) no Checking if C compiler supports -Wno-deprecated-declarations... (cached) yes Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... (cached) no Checking if C compiler supports -Wno-unused-const-variable... (cached) no Checking if C compiler supports -Wno-missing-braces... (cached) yes Checking if we are using libstdc++... (cached) yes Checking for libstdc++ 4.6.0 or better... (cached) no Checking if we are on a POSIX system... (cached) yes Checking if the POSIX monotonic clock is supported... (cached) yes Checking for __thread... (cached) yes Checking for gcc __atomic builtins... (cached) no Checking for useable __sync builtins... (cached) yes Checking for C++ header file boost/version.hpp... (cached) yes Checking for C++ library boost_regex-mt... (cached) yes Checking for C++ library boost_thread-mt... (cached) yes Checking for C++ library boost_system-mt... (cached) yes Checking for C header file unistd.h... (cached) yes Checking for C library rt... (cached) yes Checking whether timegm is declared... (cached) yes Checking whether strnlen is declared... (cached) yes Checking for C library curl... (cached) yes scons: done reading SConscript files. scons: Building targets ... /cluster/software/VERSIONS/python2-2.7.10/bin/python src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err build/linux2/normal/mongo/base/error_codes.h build/linux2/normal/mongo/base/error_codes.cpp /cluster/software/VERSIONS/python2-2.7.10/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory scons: *** [build/linux2/normal/mongo/base/error_codes.h] Error 127 scons: building terminated because of errors.
Then, I change the command to `scons --extralib=/cluster/software/VERSIONS/python2-2.7.10 install`, `scons: Reading SConscript files ... scons version: 3.0.5 python version: 2 7 10 'final' 0 Checking whether the C++ compiler works... (cached) yes Checking whether the C compiler works... (cached) yes Checking if C++ compiler "g++" is GCC... (cached) yes Checking if C compiler "gcc" is GCC... (cached) yes Checking if C compiler supports -Wno-unused-local-typedefs... (cached) no Checking if C compiler supports -Wno-unused-function... (cached) yes Checking if C compiler supports -Wno-unused-private-field... (cached) no Checking if C compiler supports -Wno-deprecated-declarations... (cached) yes Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... (cached) no Checking if C compiler supports -Wno-unused-const-variable... (cached) no Checking if C compiler supports -Wno-missing-braces... (cached) yes Checking if we are using libstdc++... (cached) yes Checking for libstdc++ 4.6.0 or better... (cached) no Checking if we are on a POSIX system... (cached) yes Checking if the POSIX monotonic clock is supported... (cached) yes Checking for __thread... no Checking for gcc __atomic builtins... no Checking for useable __sync builtins... no Checking for C++ header file boost/version.hpp... yes Checking for C++ library boost_regex-mt... no Checking for C++ library boost_regex... no can't find boost See /cluster/home/cnphuong/.local/opt/mongo-client/build/scons/config.log for details
Boost library is in `/cluster/software/VERSIONS/boost/1.69.0`
|
| Comments |
| Comment by Andrew Morrow (Inactive) [ 03/Jun/19 ] |
|
The legacy C++ driver is now end-of-life and is no longer supported. |