0

user2702245 said

pkg-config --clibs --flags <package> is good enough to provide linker and include information.

I tried to find out such information about libgoogle-perftools-dev I installed from software center in Ubuntu 12.04.

$ pkg-config --libs --cflags libgoogle-perftools-dev
Package libgoogle-perftools-dev was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgoogle-perftools-dev.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgoogle-perftools-dev' found

Not found for libgoogle-perftools, libgoogle, or perftools either.

So I wonder how to find the correct name of libgoogle-perftools-dev so that pkg-config --libs --cflags can return something? Thanks.

Tim
  • 101,790

1 Answers1

1

I checked the libgoogle-perftools-dev list of files and is right. That package doesn't include any pkg-config file to list the headers and libraries of the packages.

You can fill a bug report if you feel this isn't correct.

Braiam
  • 35,991