-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot install from source (make error) #84
Comments
I have ldd (GNU libc) 2.17 and "objdump -T /lib/libc.so.6 | grep -w realpath" gave: and I use the instruction in this repo to make |
Do you have to use conda? It looks like the conda libraries and your system libraries aren't compatible. You can either configure your environment to not use the conda glibc or add a conda-compatible libz to your environment. |
Thanks. How I can configure my environment to not use the conda glibc once I am in the "molgrid" environment and need to compile the molgrid from scratch based on the instruction from this repo this repo? I donot have root right to the cluster I use. Also, if no conda environment, I can see glibc2.14: Also I checked the glibc version on the cluster without conda, it is 2.17. |
This is a conda question. The simplest way to avoid using conda libraries is not use conda. |
The reason that I need to manually install the molgrid from source is because the incompatibility between the current pip/conda molgrid and conda openbabel which caused me cannot run ligan successfully. The suggestion from Matt this issue is to use the molgrid conda installation that he provided in this repo. I am not sure if I can run ligan successfully if I do not follow Matt's suggestion. (btw, I have no problem use pip install molgrid and openbable. While the way I installed cannot compatible with ligan.) Therefore, I am wondering if there is a way that I can use glibc2.14 in the conda to make molgrid? Thanks, |
@Luc1100 Can you please work on getting an up-to-date official conda package setup for libmolgrid? |
/home/sicun/miniconda3/envs/molgrid/include/boost/test/floating_point_comparison.hpp:14:1: note: #pragma message: This header is deprecated. Use <boost/test/tools/floating_point_comparison.hpp> instead.
14 | BOOST_HEADER_DEPRECATED( "<boost/test/tools/floating_point_comparison.hpp>" )
| ^~~~~~~~~~~~~~~~~~~~~~~
[ 75%] Linking CXX executable ../bin/test_grid_cpp
/home/sicun/miniconda3/envs/molgrid/bin/../lib/gcc/x86_64-conda-linux-gnu/9.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/libz.so: undefined reference to
memcpy@GLIBC_2.14' collect2: error: ld returned 1 exit status make[2]: *** [test/CMakeFiles/test_grid_cpp.dir/build.make:109: bin/test_grid_cpp] Error 1 make[1]: *** [CMakeFiles/Makefile2:1008: test/CMakeFiles/test_grid_cpp.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 76%] Linking CXX executable ../bin/test_gridinterp_cpp [ 78%] Linking CXX executable ../bin/test_transform_cpp /home/sicun/miniconda3/envs/molgrid/bin/../lib/gcc/x86_64-conda-linux-gnu/9.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/libz.so: undefined reference to
memcpy@GLIBC_2.14'collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/test_gridinterp_cpp.dir/build.make:109: bin/test_gridinterp_cpp] Error 1
make[1]: *** [CMakeFiles/Makefile2:1086: test/CMakeFiles/test_gridinterp_cpp.dir/all] Error 2
/home/sicun/miniconda3/envs/molgrid/bin/../lib/gcc/x86_64-conda-linux-gnu/9.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/libz.so: undefined reference to
memcpy@GLIBC_2.14' collect2: error: ld returned 1 exit status make[2]: *** [test/CMakeFiles/test_transform_cpp.dir/build.make:109: bin/test_transform_cpp] Error 1 make[1]: *** [CMakeFiles/Makefile2:1112: test/CMakeFiles/test_transform_cpp.dir/all] Error 2 [ 79%] Linking CXX executable ../bin/test_gridmaker_cu /home/sicun/miniconda3/envs/molgrid/bin/../lib/gcc/x86_64-conda-linux-gnu/9.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/libz.so: undefined reference to
memcpy@GLIBC_2.14'collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/test_gridmaker_cu.dir/build.make:109: bin/test_gridmaker_cu] Error 1
make[1]: *** [CMakeFiles/Makefile2:1138: test/CMakeFiles/test_gridmaker_cu.dir/all] Error 2
[ 81%] Linking CXX executable ../bin/test_transform_cu
/home/sicun/miniconda3/envs/molgrid/bin/../lib/gcc/x86_64-conda-linux-gnu/9.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/libz.so: undefined reference to
memcpy@GLIBC_2.14' collect2: error: ld returned 1 exit status make[2]: *** [test/CMakeFiles/test_transform_cu.dir/build.make:109: bin/test_transform_cu] Error 1 make[1]: *** [CMakeFiles/Makefile2:1034: test/CMakeFiles/test_transform_cu.dir/all] Error 2 [ 82%] Linking CXX executable ../bin/test_grid_cu /home/sicun/miniconda3/envs/molgrid/bin/../lib/gcc/x86_64-conda-linux-gnu/9.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/libz.so: undefined reference to
memcpy@GLIBC_2.14'collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/test_grid_cu.dir/build.make:109: bin/test_grid_cu] Error 1
make[1]: *** [CMakeFiles/Makefile2:1060: test/CMakeFiles/test_grid_cu.dir/all] Error 2
[ 84%] Linking CXX shared library molgrid/molgrid.so
[ 84%] Built target molgrid
make: *** [Makefile:146: all] Error 2
The text was updated successfully, but these errors were encountered: