cannot find -luuid error make

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question

























    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?







    share|improve this question























      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?







      share|improve this question













      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?









      share|improve this question












      share|improve this question




      share|improve this question








      edited Jul 1 at 4:47
























      asked Jun 27 at 18:06









      belmer1416

      1062




      1062




















          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






          share|improve this answer





















          • I have both libuuid and libuuid-devel installed.
            – belmer1416
            Jul 1 at 4:36










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          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






























          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






          share|improve this answer





















          • I have both libuuid and libuuid-devel installed.
            – belmer1416
            Jul 1 at 4:36














          up vote
          0
          down vote













          You need libuuid-devel , this package provide libraries for compiling .



          libuuid provide libraries fro running






          share|improve this answer





















          • I have both libuuid and libuuid-devel installed.
            – belmer1416
            Jul 1 at 4:36












          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






          share|improve this answer













          You need libuuid-devel , this package provide libraries for compiling .



          libuuid provide libraries fro running







          share|improve this answer













          share|improve this answer



          share|improve this answer











          answered Jul 1 at 3:21









          EchoMike444

          3942




          3942











          • 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




          I have both libuuid and libuuid-devel installed.
          – belmer1416
          Jul 1 at 4:36












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          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













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)