install uuid-dev

16,285 views
Skip to first unread message

liulei

unread,
Dec 31, 2011, 1:48:06 AM12/31/11
to storm-user
When I install zeromq, I run "./configure" command , but there is
"configure: error: cannot link with -luuid, install uuid-dev." error,
then I run "sudo yum install uuid,uuid-dev" command, but there are "No
package uuid,uuid-dev available" error. How can I install uuid
package?


Thanks,

LiuLei


Adrian Petrescu

unread,
Dec 31, 2011, 1:49:09 AM12/31/11
to storm...@googlegroups.com
What distribution are you using? On CentOS-based ones (like the Amazon Linux AMI that EC2 uses), the package is called uuid-devel

lei liu

unread,
Dec 31, 2011, 2:06:28 AM12/31/11
to storm...@googlegroups.com
I am using "Linux v129147.sqa.cm4 2.6.18-164.el5xen #1 SMP Tue Aug 18 15:59:52 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux".

2011/12/31 Adrian Petrescu <apet...@gmail.com>

Adrian Petrescu

unread,
Dec 31, 2011, 2:09:55 AM12/31/11
to storm...@googlegroups.com
Do you know which distribution you are using? (you have Yum, so it's probably one of Red Hat, Fedora, or CentOS).

What is the output of
    sudo yum install uuid-dev
?

Adrian Petrescu

unread,
Dec 31, 2011, 2:10:46 AM12/31/11
to storm...@googlegroups.com
Oops, that line should be

    sudo yum install uuid-devel

as per my first post.

lei liu

unread,
Dec 31, 2011, 2:13:38 AM12/31/11
to storm...@googlegroups.com

I run "sudo yum install uuid-devel", the outpout are:

Loaded plugins: branch
ops.5.noarch                                                                                                 | 1.9 kB     00:00    
ops.5.x86_64                                                                                                 | 1.9 kB     00:00    
ops.5.x86_64/primary_db                                                                                      |  44 kB     00:00    
rhel.5                                                                                                       | 1.9 kB     00:00    
taobao.5.noarch.stable                                                                                       | 1.9 kB     00:00    
taobao.5.x86_64.stable                                                                                       | 1.9 kB     00:00    
Setting up Install Process
No package uuid-devel available.
Nothing to do

2011/12/31 Adrian Petrescu <apet...@gmail.com>

Adrian Petrescu

unread,
Dec 31, 2011, 2:19:26 AM12/31/11
to storm...@googlegroups.com
Ah, so it looks like your distribution is RHEL 5. According to some Googling, the package is known as libuuid-devel.i686 there. So try installing that.

PS: You work for Taobao? Neat, you guys do great work :)

lei liu

unread,
Dec 31, 2011, 2:23:10 AM12/31/11
to storm...@googlegroups.com
Who are you, why do you know I work for Taobao in chian?

2011/12/31 Adrian Petrescu <apet...@gmail.com>

Adrian Petrescu

unread,
Dec 31, 2011, 2:24:46 AM12/31/11
to storm...@googlegroups.com
I guessed from the fact that you pasted a repository named "taobao" in your yum search path... don't worry, I'm not spying, just being friendly!

Did libuuid-devel.i686 work?

lei liu

unread,
Dec 31, 2011, 2:28:30 AM12/31/11
to storm...@googlegroups.com
The "sudo yum install uuid-devel.x86_64" command don't work.

Should I download the "libuuid-devel-2.20.1-2.fc16.i686.rpm" to install ?

2011/12/31 Adrian Petrescu <apet...@gmail.com>

Adrian Petrescu

unread,
Dec 31, 2011, 2:30:05 AM12/31/11
to storm...@googlegroups.com
Yes, installing the RPM manually should be fine too, but my recommendation was libuuid-devel.i686, not uuid-devel.x86_64. There are two differences there.

lei liu

unread,
Dec 31, 2011, 2:32:02 AM12/31/11
to storm...@googlegroups.com
The "sudo yum install libuuid-devel.i686" don't work too.

2011/12/31 Adrian Petrescu <apet...@gmail.com>

Adrian Petrescu

unread,
Dec 31, 2011, 2:35:38 AM12/31/11
to storm...@googlegroups.com
In that case, your yum repositories probably don't contain it. You can either manually install the RPM, or download the source from here: http://www.ossp.org/pkg/lib/uuid/ (it has a very straightforward configure-make-install process, with very few dependencies, so it shouldn't be hard to build.)

lei liu

unread,
Dec 31, 2011, 2:44:26 AM12/31/11
to storm...@googlegroups.com
I download “uuid-1.6.2.tar.gz”, when I run "sudo make install" command, the command output :

./shtool install -c -m 644 ./uuid.3 /usr/local/share/man/man3/
libtool: install: `libuuid.la' is not a valid libtool archive
libtool: install: Try `libtool --help --mode=install' for more information.
make: *** [install] Error 1

2011/12/31 Adrian Petrescu <apet...@gmail.com>

Adrian Petrescu

unread,
Dec 31, 2011, 3:05:19 AM12/31/11
to storm...@googlegroups.com
Sorry, not sure how I'd help that without knowledge of your toolchain setup. I would ask whoever maintains your dev environment for help with this (rather general) issue.

Cheers,
Adrian

2011/12/30 lei liu <liul...@gmail.com>

lei liu

unread,
Dec 31, 2011, 3:28:16 AM12/31/11
to storm...@googlegroups.com
Hi Adrian,

I has installed the uuid, there are bleow files in /usr/local/lib directory:

drwxr-xr-x 3 root root  4096 Dec 21 21:07 crange
-rw-r--r-- 1 root root 64132 Dec 31 16:03 libuuid.a
-rw-r--r-- 1 root root   925 Dec 31 16:03 libuuid.la
lrwxrwxrwx 1 root root    18 Dec 31 16:03 libuuid.so -> libuuid.so.16.0.22
lrwxrwxrwx 1 root root    18 Dec 31 16:03 libuuid.so.16 -> libuuid.so.16.0.22
-rw-r--r-- 1 root root 51937 Dec 31 16:03 libuuid.so.16.0.22
drwxr-xr-x 2 root root  4096 Dec 31 16:03 pkgconfig

but when I run "./configure --prefix=/home/gumo/zeromq" to install zeromq, the command output :
checking for uuid_generate in -luuid... no
configure: error: cannot link with -luuid, install uuid-dev”


How can I checking the uuid ?

Asif Ihsan

unread,
Jul 18, 2013, 2:29:30 PM7/18/13
to storm...@googlegroups.com
I am facing same problem as liulei mentioned, i tried every mentioned method, but still its not working. Any help will be strongly appreciated. Thank you.

On Friday, 22 June 2012 10:49:20 UTC-7, Yao wrote:
Hi liulei,

       I was having the same problem and installing libuuid-devel (instead of uuid-devel) works for me. 
       So try: sudo yum install libuuid-devel
       
Dao

mural...@gmail.com

unread,
Aug 7, 2013, 3:06:48 PM8/7/13
to storm...@googlegroups.com
I couldnt find answer on this in archive,please help !

checking whether we are using gcc >= 4 C++ compiler... yes
checking whether to enable debugging information... no
checking whether to enable code coverage... no
checking for pthread_create in -lpthread... yes
checking for sem_init in -lrt... yes

checking for uuid_generate in -luuid... no
configure: error: cannot link with -luuid, install uuid-dev.

Any pointers?


not able to install zeqoMQ.  I have installed uuid-dev
Thanks,
Murali

Philip O'Toole

unread,
Aug 7, 2013, 3:07:59 PM8/7/13
to storm...@googlegroups.com
How did you install uuid-dev?

--
You received this message because you are subscribed to the Google Groups "storm-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to storm-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Philip O'Toole

unread,
Aug 7, 2013, 3:08:46 PM8/7/13
to storm...@googlegroups.com
If you did it from source, be sure to run 'ldconfig' afterwards.

mural...@gmail.com

unread,
Aug 7, 2013, 3:12:23 PM8/7/13
to storm...@googlegroups.com
han,

manually ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz

 $ ./configure
    $ make
    $ make check
    $ make install

mural...@gmail.com

unread,
Aug 7, 2013, 3:16:03 PM8/7/13
to storm...@googlegroups.com


Hi Philip,

I tried to run this after udid : ldconfig, didnt help.

Thanks
Murali

姚仁捷

unread,
Aug 12, 2013, 6:49:04 AM8/12/13
to storm...@googlegroups.com
try util-linux-2.21.1.tar.gz, it works for me

在 2011年12月31日星期六UTC+8下午2时48分06秒,liulei写道:

y.s Tian

unread,
Oct 9, 2013, 10:43:20 AM10/9/13
to storm...@googlegroups.com
I met same problem when I installed zeroMQ2.1.7, and I already installed uuid by using commond "yum install uuid-devel".
I work at CentOS6.3.


在 2011年12月31日星期六UTC+8下午2时48分06秒,liulei写道:
Message has been deleted

Ashutosh Kumar

unread,
Oct 10, 2013, 6:06:33 AM10/10/13
to storm...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages