<div dir="ltr"><div>'ld: cannot find -lz'<br></div><div><br></div>zlib is missing. Something along the lines of<div><br></div><div>`<span style="font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit; white-space: inherit; background-color: rgb(239, 240, 241); color: rgb(36, 39, 41);">apt-get install zlib1g-dev</span>`</div><div><br></div><div>should fix things. The name of the library might be slightly different for you distro.</div><div><br></div><div>Matt</div><div><br>On Thursday, August 30, 2018 at 6:03:32 AM UTC+1, SS wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><br><div>Hello thank you for your reply</div><div><br></div><div>I am just posting last portion of make.log file</div><div><br></div><div>/home/shyam/WORK/shyam/<wbr>softwares/cp2k-5.1/tools/<wbr>toolchain/install/binutils-2.<wbr>28/bin/ld: cannot find -lz<br>collect2: error: ld returned 1 exit status<br>Makefile:2911: recipe for target 'dummysizes' failed<br>make[2]: *** [dummysizes] Error 1<br>make[2]: *** Waiting for unfinished jobs....<br>make[2]: Leaving directory '/home/shyam/WORK/shyam/<wbr>softwares/cp2k-5.1/tools/<wbr>toolchain/build/scotch_6.0.0/<wbr>src/libscotch'<br>Makefile:55: recipe for target 'scotch' failed<br>make[1]: *** [scotch] Error 2<br>make[1]: Leaving directory '/home/shyam/WORK/shyam/<wbr>softwares/cp2k-5.1/tools/<wbr>toolchain/build/scotch_6.0.0/<wbr>src/libscotch'<br>Makefile:93: recipe for target 'scotch' failed<br>make: *** [scotch] Error 2<br></div><div>I am unable to figure out what is the problem?Which library is missing. <br></div><div><br></div><div><br></div>On Wednesday, August 29, 2018 at 4:50:46 PM UTC+5:30, Matt W wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>you will need to look in the build/scotch_6.0.0/src directory for the make.log file from ptscotch to see what the real error message is. </div><div><br></div><div>It is likely a preprossessing library that is not preinstalled in mint.</div><div><br></div><div>Matt<br><br>On Wednesday, August 29, 2018 at 12:05:52 PM UTC+1, SS wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I was trying to install cp2k on my linux mint OS. I downloaded the cp2k file and prerequisites files from cp2k website and followed the instruction given in readme file after unzipping the cp2k files.When i tried to install the toolchain using <br><pre>./install_cp2k_toolchain.sh --install-all<br>it was showing an error message as follows<br><br>Installing from scratch into /home/shyam/WORK/shyam/<wbr>softwares/cp2k-5.1/tools/<wbr>toolchain/install/scotch-6.0.0<br>ERROR: (/home/shyam/WORK/shyam/<wbr>softwares/cp2k-5.1/tools/<wbr>toolchain/scripts/install_<wbr>ptscotch.sh, line 43) Non-zero exit code detected.<br><br>I have all tar.gz files. I tried to install this from individual scotch_6.0.0.tar.gz file and it was not working<br><br>I am new to the software and it would be helpful if someone can give a step by step installation guide.<br><br>Thank you<br></pre></div></div></blockquote></div></div></blockquote></div></blockquote></div></div>