[CMake] Handle lib64 library on Linux

Sara Rolfe smrolfe at u.washington.edu
Sat May 21 20:16:58 EDT 2011


The latest version of CMake, cmake-2.8.4-Linux-i386.tar.gz does not  
looking in /lib64 paths.  Could you let me know which version of CMake  
you are referring to, that checks this path?

Thanks,
Sara


On May 21, 2011, at 3:47 PM, Eric Noulard wrote:

> 2011/5/20 Sara Rolfe <smrolfe at u.washington.edu>:
>> Hello,
>>
>> I am attempting to modify my make file so the linker will check for
>> /usr/lib64 instead of /usr/lib.  I found a patch for this problem  
>> here:
>>
>> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=126c993d#patch1
>
> This commit is not related with "finding" lib64 (with find_library)
> but with packaging (with CPack) /lib64 dirs.
>
> Which version of CMake are you trying to patch?
> Some version of CMake already look in /lib64 paths.
>
> If your problem is about finding libraries you may use
> PATHS and PATH_SUFFIXES of the find_library command
> in order to search in appropriate place.
>
> Some more informations about multilib and/or lib64 issues may be  
> found here:
> http://public.kitware.com/Bug/view.php?id=12037
>
>> However, I'm pretty new to cmake and it's not clear to me how to  
>> apply this.
>>  Can someone explain, or point me to an example/documentation?
>
> Applying a patch is usually done on a source tree
> using either patch command or git apply?
>
> After applying the patch you need to recompile CMake sources.
> Sometime, when the patch concerns only cmake scripts file,
> you can apply the patch on the particular file without recompiling.
>
> Again which version of CMake are you using?
> On which platform (Linux, Windows, Mac OS...)
> Did you ever compile CMake?
> Do you know git?
>
>
> -- 
> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110521/127802f4/attachment.htm>


More information about the CMake mailing list