How to resolve cmake directory libz.so.1 conflict with library in implicit directories of anaconda python? python -
i'm trying build example using cmake needs python , mpi.i have several python versions installed, pvpython python ipython , anaconda python. set normal python in path variable (i'm working in ubuntu-linux) i'm new cmake stuff. people stated have change toolchainfile.cmake cannot locate in example files. lead on how solve this? in advance! following error while running ccmake.
cmake warning @ cmakelists.txt:14 (add_executable): cannot generate safe runtime search path target fortran90fullexample because files in directories may conflict libraries in implicit directories:
runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may hidden files in:/home/xxx/anaconda/lib runtime library [libpython2.7.so.1.0] in /usr/lib/x86_64-linux-gnu may hidden files in: /home/xxx/anaconda/libsome of these libraries may not found correctly.
i searched file libz.so.1 in /usr/lib/x86_64-linux-gnu directory , in it. set paths directory , not anaconda directories.
this time used ccmake instead of cmake , able give paths on /usr/lib/x86_64-linux-gnu instead of anaconda paths. changed python path anaconda python usual python location /usr/bin me.
i added path path=/usr/bin:$path adds front of path variable , not effect there. had set pythonhome=$pythonpath rid of relatedd errors
Comments
Post a Comment