cannot find -luuid error make

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am using centos7 and am trying to build this https://github.com/daveti/prov-tools/tree/master/system however I get
/usr/bin/ld: cannot find -luuid
I did yum install with libuuid and it says that its installed, but I'm missing libuuid.a it seems. However there is no libuuid-static. Is there a package I'm missing or can I change my makefile so that i makes.
Here is the makefile
PREFIX ?= /usr
CFLAGS ?= -Wall -Werror
CFLAGS += -std=gnu99 -static
BINARIES = pbang ncred elijah fixbang
OBJECTS = plog
all: $(BINARIES)
clean:
$(RM) $(BINARIES) $(addsuffix .o,$(OBJECTS))
install: $(addprefix install-,$(BINARIES))
install-%: %
install -D $< $(DESTDIR)$(PREFIX)/sbin/$<
ncred elijah: plog.o
pbang: LDLIBS += -lz -luuid
.PHONY: all clean install
EDIT :
I verified that I have libuuid.so using find, but I'm not sure how I would link to this?
centos make
add a comment |Â
up vote
1
down vote
favorite
I am using centos7 and am trying to build this https://github.com/daveti/prov-tools/tree/master/system however I get
/usr/bin/ld: cannot find -luuid
I did yum install with libuuid and it says that its installed, but I'm missing libuuid.a it seems. However there is no libuuid-static. Is there a package I'm missing or can I change my makefile so that i makes.
Here is the makefile
PREFIX ?= /usr
CFLAGS ?= -Wall -Werror
CFLAGS += -std=gnu99 -static
BINARIES = pbang ncred elijah fixbang
OBJECTS = plog
all: $(BINARIES)
clean:
$(RM) $(BINARIES) $(addsuffix .o,$(OBJECTS))
install: $(addprefix install-,$(BINARIES))
install-%: %
install -D $< $(DESTDIR)$(PREFIX)/sbin/$<
ncred elijah: plog.o
pbang: LDLIBS += -lz -luuid
.PHONY: all clean install
EDIT :
I verified that I have libuuid.so using find, but I'm not sure how I would link to this?
centos make
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am using centos7 and am trying to build this https://github.com/daveti/prov-tools/tree/master/system however I get
/usr/bin/ld: cannot find -luuid
I did yum install with libuuid and it says that its installed, but I'm missing libuuid.a it seems. However there is no libuuid-static. Is there a package I'm missing or can I change my makefile so that i makes.
Here is the makefile
PREFIX ?= /usr
CFLAGS ?= -Wall -Werror
CFLAGS += -std=gnu99 -static
BINARIES = pbang ncred elijah fixbang
OBJECTS = plog
all: $(BINARIES)
clean:
$(RM) $(BINARIES) $(addsuffix .o,$(OBJECTS))
install: $(addprefix install-,$(BINARIES))
install-%: %
install -D $< $(DESTDIR)$(PREFIX)/sbin/$<
ncred elijah: plog.o
pbang: LDLIBS += -lz -luuid
.PHONY: all clean install
EDIT :
I verified that I have libuuid.so using find, but I'm not sure how I would link to this?
centos make
I am using centos7 and am trying to build this https://github.com/daveti/prov-tools/tree/master/system however I get
/usr/bin/ld: cannot find -luuid
I did yum install with libuuid and it says that its installed, but I'm missing libuuid.a it seems. However there is no libuuid-static. Is there a package I'm missing or can I change my makefile so that i makes.
Here is the makefile
PREFIX ?= /usr
CFLAGS ?= -Wall -Werror
CFLAGS += -std=gnu99 -static
BINARIES = pbang ncred elijah fixbang
OBJECTS = plog
all: $(BINARIES)
clean:
$(RM) $(BINARIES) $(addsuffix .o,$(OBJECTS))
install: $(addprefix install-,$(BINARIES))
install-%: %
install -D $< $(DESTDIR)$(PREFIX)/sbin/$<
ncred elijah: plog.o
pbang: LDLIBS += -lz -luuid
.PHONY: all clean install
EDIT :
I verified that I have libuuid.so using find, but I'm not sure how I would link to this?
centos make
edited Jul 1 at 4:47
asked Jun 27 at 18:06
belmer1416
1062
1062
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
You need libuuid-devel , this package provide libraries for compiling .
libuuid provide libraries fro running
I have both libuuid and libuuid-devel installed.
â belmer1416
Jul 1 at 4:36
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You need libuuid-devel , this package provide libraries for compiling .
libuuid provide libraries fro running
I have both libuuid and libuuid-devel installed.
â belmer1416
Jul 1 at 4:36
add a comment |Â
up vote
0
down vote
You need libuuid-devel , this package provide libraries for compiling .
libuuid provide libraries fro running
I have both libuuid and libuuid-devel installed.
â belmer1416
Jul 1 at 4:36
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You need libuuid-devel , this package provide libraries for compiling .
libuuid provide libraries fro running
You need libuuid-devel , this package provide libraries for compiling .
libuuid provide libraries fro running
answered Jul 1 at 3:21
EchoMike444
3942
3942
I have both libuuid and libuuid-devel installed.
â belmer1416
Jul 1 at 4:36
add a comment |Â
I have both libuuid and libuuid-devel installed.
â belmer1416
Jul 1 at 4:36
I have both libuuid and libuuid-devel installed.
â belmer1416
Jul 1 at 4:36
I have both libuuid and libuuid-devel installed.
â belmer1416
Jul 1 at 4:36
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f452291%2fcannot-find-luuid-error-make%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password