[CMake] Handle lib64 library on Linux

Ramon Casero rcasero at gmail.com
Fri Jun 10 15:06:59 EDT 2011


Hi,

I think I have a work around for this issue. What is happening is that files
build.make and link.txt in directory CMakeFiles are saying that there's a 

/usr/lib/libuuid.so

But if you have a 64 bit linux (and probably something similar happens in other
platforms), that library gets installed elsewhere, e.g.

$ find /usr -name libuuid.so
/usr/lib/x86_64-linux-gnu/libuuid.so

The work around is to create a symbolic link to the library where it is expected

$ cd /usr/lib
$ ln -s /usr/lib/x86_64-linux-gnu/libuuid.so

Best regards,

Ramon.



More information about the CMake mailing list