Error in --libs-only-L option

Dan Nicholson nicholson at
Tue Jun 2 05:51:14 PDT 2015

On Tue, Jun 2, 2015 at 2:07 AM, kartik gupta <kartikgupta0909 at> wrote:
> I have the following pkg-config file for the libarchive library installed in
> my machine.
> However when I do "pkg config  --libs-only-L option libarchive" it does not
> give me any output , but its working for all the other options.

I believe it's working as expected. Since /usr/lib/x86_64-linux-gnu is
a system library directory, pkg-config suppresses printing it. Try
"PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 pkg config  --libs-only-L option
libarchive" and see if you then get the directories.


More information about the pkg-config mailing list