Re: link error, libSM to libuuid, ubuntu 10.04

2010-05-14 Thread Gao, Yi
Hi Gaetan,

Thanks for the reply.

Yes I have looked at the post for gentoo you suggested. In Ubuntu
10.04, the /lib64 is just a sym-link of /lib, And /usr/lib64 is also
just a sym-link for /usr/lib. So I did not remove the files in lib64
as in the gentoo post.

I rebuilt libSM but the problem remains.

I will try more and update with the maillist.

Thanks for the suggestion!

Best,
yi

On Fri, May 14, 2010 at 4:09 PM, Gaetan Nadon  wrote:
> On Fri, 2010-05-14 at 14:37 -0400, Gao, Yi wrote:
>
> Could I have any hint?
>
> I have Ubuntu 64, but I have not upgraded to Lucid yet. It looks like they
> support both 32 and 64 bit now. I have seen a few posts on the net and it
> resolves around a 32 bit lib not finding a 64 bit dependency or vice-versa.
>
> Notice how this similar report has this output in /usr/lib64 while yours is
> in /usr/lib.
>
> /usr/lib64/libSM.so: undefined reference to `uuid_unparse_lo...@uuid_1.0'
> /usr/lib64/libSM.so: undefined reference to `uuid_gener...@uuid_1.0'
>
> In http://bugs.gentoo.org/show_bug.cgi?id=286174#c18
>
> Files removed:
>
>   /lib64/libuuid.so.1.2
>   /lib64/libuuid.so
>
> libSM recompiled and, finally, evolution compiled and runs ok!
>
> It looks like other versions of libuuid could get in the way.
>
> In any case it's most likely a distro issue.
>
> Gaetan
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg


Re: link error, libSM to libuuid, ubuntu 10.04

2010-05-14 Thread Gaetan Nadon
On Fri, 2010-05-14 at 14:37 -0400, Gao, Yi wrote:

> Could I have any hint?
> 

I have Ubuntu 64, but I have not upgraded to Lucid yet. It looks like
they support both 32 and 64 bit now. I have seen a few posts on the net
and it resolves around a 32 bit lib not finding a 64 bit dependency or
vice-versa.

Notice how this similar report has this output in /usr/lib64 while yours
is in /usr/lib.

/usr/lib64/libSM.so: undefined reference to 
`uuid_unparse_lo...@uuid_1.0'
/usr/lib64/libSM.so: undefined reference to `uuid_gener...@uuid_1.0'



In http://bugs.gentoo.org/show_bug.cgi?id=286174#c18


Files removed:

  /lib64/libuuid.so.1.2
  /lib64/libuuid.so

libSM recompiled and, finally, evolution compiled and runs ok!


It looks like other versions of libuuid could get in the way.

In any case it's most likely a distro issue.

Gaetan


signature.asc
Description: This is a digitally signed message part
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg

link error, libSM to libuuid, ubuntu 10.04

2010-05-14 Thread Gao, Yi
Dear all,


When I'm building a software I got the link error as:
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libSM.so:
undefined reference to `uuid_gener...@uuid_1.0'
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libSM.so:
undefined reference to `uuid_unparse_lo...@uuid_1.0'

I'm running ubuntu 10.04 64bit and I have installed
libuuid1
uuid-dev
uuid-runtim

libsm6
libsm-dev


When I do "ldd libSM.so" in /usr/lib/ I got:
linux-vdso.so.1 =>  (0x7fff6f9d2000)
libICE.so.6 (0x7f63004e7000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x7f63002e1000)
libc.so.6 => /lib64/libc.so.6 (0x7f62fff5f000)
/lib64/ld-linux-x86-64.so.2 (0x7f630090d000)
and libuuid.so.1 is in /lib64/

So everything looks okay to me

The software I was trying to build, though I don't think this matters,
is 3D Slicer (slicer.org)

Could I have any hint?

Thanks in advance!

Best,
yi
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg