1

I am trying to install LTTng.

I was installing lttng-tools-2.6.0 and got the following error:

configure: error: Cannot find libuuid uuid_generate nor libc uuid_create. Use LDFLAGS=-Ldir to specify their location.

I don't know how to specify -L/usr/local/lib in LDFLAGS.

1

You can specify LDFLAGS as an environment variable before configure:

LDFLAGS=-L/usr/local/lib ./configure

or as a parameter to configure:

./configure LDFLAGS=-L/usr/local/lib
  • checking for uuid_generate in -luuid... no checking for uuid_create in -lc... no configure: error: Cannot find libuuid uuid_generate nor libc uuid_create. Use LDFLAGS=-Ldir to specify their location. //I am still getting the error – SAS Apr 24 '15 at 14:26
  • Do you have libuuid installed anywhere? – Stephen Kitt Apr 24 '15 at 20:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.