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

Luis Ibanez luis.ibanez at kitware.com
Sun May 22 18:44:34 EDT 2011


Hi Sara,

Thanks for sending this information.

You are certainly building for 64 bits,

that's the good news.   :-)


---

The libuuid.so in my 64bit system (Ubuntu 10.04)
is installed in

                      /usr/lib/libuuid.so

and it is a symbolic link to

                   /lib/libuuid.so.1.3.0


if you use the "file" command, we can check if your
library is actually a 32bits or 64 bits.

When I do:

                   file /usr/lib/libuuid.so

I get:

/usr/lib/libuuid.so: symbolic link to `/lib/libuuid.so.1.3.0'

and then, when doing:

                    file /lib/libuuid.so.1.3.0

I get:


/lib/libuuid.so.1.3.0: ELF 64-bit LSB shared object, x86-64, version 1
(SYSV), dynamically linked, stripped


Could you please try the same in your libuuid.so file
and let us know what you find ?


BTW: How did you install   libuuid ?

In Ubuntu, this is done with:

                       sudo   apt-get   install    uuid-dev


Also,....

GDCM should use its own version of libuuid,
(in GDCM/Utilities/gdcmuuid) when it fails to
find a libuuid installed in your system.

So, there are multiple suspicious things about
your system...


Is there something "special" about your system
that you would like to share with us at this point ?


Virtual machine ?
Shared disk system, maybe... ?


     Thanks


          Luis



-----------------------------------------------
On Sat, May 21, 2011 at 8:26 PM, Sara Rolfe <smrolfe at u.washington.edu> wrote:
> Hi Luis,
>
> Thanks for your help with this.
>
> When I do ./a.out I get 8, so it looks like it is building for 64 bits.
>
> The output from uname -a is:
> Linux n32.frame.cs.washington.edu 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4
> 13:32:19 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
>
>
> My latest thought is that CMake is only checking the /usr/lib and not
> /usr/lib64.  I have and use both libraries.  If this is the case, I have not
> found any way to change this.
>
> Please let me know what you think.
>
> Thanks,
> Sara
>
>
> On May 21, 2011, at 11:02 AM, Luis Ibanez wrote:
>
>> uname -a
>
>


More information about the Insight-users mailing list