<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The latest version of CMake,&nbsp;<a href="http://www.cmake.org/files/v2.8/cmake-2.8.4-Linux-i386.tar.gz">cmake-2.8.4-Linux-i386.tar.gz</a>&nbsp;does not looking in /lib64 paths. &nbsp;Could you let me know which version of CMake you are referring to, that checks this path?&nbsp;<div><br></div><div>Thanks,</div><div>Sara</div><div><br></div><div><br><div><div>On May 21, 2011, at 3:47 PM, Eric Noulard wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>2011/5/20 Sara Rolfe &lt;<a href="mailto:smrolfe@u.washington.edu">smrolfe@u.washington.edu</a>&gt;:<br><blockquote type="cite">Hello,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I am attempting to modify my make file so the linker will check for<br></blockquote><blockquote type="cite">/usr/lib64 instead of /usr/lib. &nbsp;I found a patch for this problem here:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=126c993d#patch1">http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=126c993d#patch1</a><br></blockquote><br>This commit is not related with "finding" lib64 (with find_library)<br>but with packaging (with CPack) /lib64 dirs.<br><br>Which version of CMake are you trying to patch?<br>Some version of CMake already look in /lib64 paths.<br><br>If your problem is about finding libraries you may use<br>PATHS and PATH_SUFFIXES of the find_library command<br>in order to search in appropriate place.<br><br>Some more informations about multilib and/or lib64 issues may be found here:<br><a href="http://public.kitware.com/Bug/view.php?id=12037">http://public.kitware.com/Bug/view.php?id=12037</a><br><br><blockquote type="cite">However, I'm pretty new to cmake and it's not clear to me how to apply this.<br></blockquote><blockquote type="cite">&nbsp;Can someone explain, or point me to an example/documentation?<br></blockquote><br>Applying a patch is usually done on a source tree<br>using either patch command or git apply?<br><br>After applying the patch you need to recompile CMake sources.<br>Sometime, when the patch concerns only cmake scripts file,<br>you can apply the patch on the particular file without recompiling.<br><br>Again which version of CMake are you using?<br>On which platform (Linux, Windows, Mac OS...)<br>Did you ever compile CMake?<br>Do you know git?<br><br><br>-- <br>Erk<br>Membre de l'April - « promouvoir et défendre le logiciel libre » -<br>http://www.april.org<br></div></blockquote></div><br></div></body></html>