[Insight-users] Configure ITK for 64-bit Linux

Sara Rolfe smrolfe at u.washington.edu
Fri May 20 13:35:48 EDT 2011


I've looked into this further and have found that the symlink is not a  
possible solution since programs run on this machine use both 32-bit  
and 64-bit versions of the libraries.

So I need to modify the make file so that the linker checks for /usr/ 
lib64.

I found a cmake patch that should do this, but am just learning cmake,  
and am not sure if/how to apply this.  If anyone has tried something  
similar, could you please let me know?

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=126c993d#patch1

Thanks,
Sara

On May 19, 2011, at 2:57 PM, Sara Rolfe wrote:

> Thanks, this sounds like it would fix the problem, except that I do  
> not have root permissions needed to make this sym link.
>
> Can anyone explain, or point me to information on modifying the make  
> file so the linker will check for /usr/lib64?
>
> Thanks,
> Sara
>
>
> On May 19, 2011, at 6:55 AM, Leila Baghdadi wrote:
>
>> Not sure why you have lib and lib64, this used to be the case a  
>> years ago on different platforms.
>> I have a 64bit machine which runs linux ubuntu lucid and I only  
>> have /usr/lib which holds all 64bit libraries,
>>
>> anyways, I remember fixing the problem you are describing by  
>> creating a sym link
>>
>> /usr/lib -> /usr/lib64
>> or modify make file so the linker checks for /usr/lib64
>>
>> personally, I would choose the first solution
>>
>> HTH
>>
>> Leila
>>
>> ----- Original Message -----
>> From: Sara Rolfe <smrolfe at u.washington.edu>
>> Sent: Wed, 5/18/2011 6:15pm
>> To: insight-users at itk.org Users <insight-users at itk.org>
>> Subject: [Insight-users] Configure ITK for 64-bit Linux
>>
>> Hello,
>>
>> I am trying to configure ITK to run on a 64-bit Linux machine.   
>> When I
>> try to compile a sample program, I get the following error:
>>
>> make[2]: *** No rule to make target `/usr/lib/libuuid.so', needed by
>> `SubsampleVolume'.  Stop.
>> make[1]: *** [CMakeFiles/SubsampleVolume.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> I found on the wiki that this error occurs when the UUID library is
>> missing.  I've installed this library, but am getting the same error.
>> I checked the location of the library installation and it's in /usr/
>> lib64, not /usr/lib as the error message says.  I'm guessing that ITK
>> or cmake is not properly configured for a 64-bit system.  My guess
>> would be that I'm missing a flag in ccmake, or that I need to add a
>> find_package statement to my CmakeLists.txt.
>>
>> I would appreciate any suggestions or input.
>>
>> Thanks,
>> Sara
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list