Questions tagged [pkg-config]

The pkg-config program is used to retrieve information about installed libraries in the system. It is typically used to compile and link against one or more libraries.

Filter by
Sorted by
Tagged with
0
votes
1answer
7 views

How to install package xorg-server

I'm following this recipe to build xf86-input-libinput from source with a patch applied. The command ./configure --prefix=/usr gives me an error that I haven't been able to resolve: checking for xorg-...
1
vote
1answer
46 views

Package gtk+-3.0 was not found in the pkg-config search path

I'm running Ubuntu 18.04.4 LTS When running pkg-config --cflags gtk+-3.0 I get the following error - Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory ...
0
votes
1answer
315 views

deepin-anything-dkms error [20.04]

2 days ago I was trying to install DDE (Deepin Desktop Environment). It didn't finish, now everytime I try to install something it gives me this error. What's happening and what can I do? Edit: It ...
1
vote
1answer
107 views

Configure requires a working autoconf/pkg-config

I need to update libdmtx and dmtx-utils on Ubuntu 18.04. Both these packages aren't installed through apt. I compiled and installed libdmtx with prefix /usr/local/stow/libdmtx-0.7.7 and created all ...
1
vote
1answer
237 views

pkg-config. Missing library's metadata

I'm building ffmpeg enabling over 40 libraries. Often a library is installed but metadata .pc file is missing. Usually this could be solved by installing library-dev package but is there a way to just ...
0
votes
1answer
881 views

opencv was not found in the pkg-config

Using cmake and cuda i create opencv , the file was saved in /usr/local/lib/python3.8/dist-packages/cv2/python-3.8/cv2.so now i'm trying to install darknet but i got this error Package opencv was not ...
1
vote
1answer
1k views

CMake error: Could NOT find GSL (missing: GSL_INCLUDE_DIR)

I am installing a simulator in Ubuntu in 18.04 and I get the following error during the execution of 'cmake ..' command. The C compiler identification is GNU 7.5.0 -- The CXX compiler identification ...
2
votes
1answer
296 views

Why can pkg-config not find gsettings-desktop-schemas?

The package gsettings-desktop-schemas is installed on my system, but pkg-config can't find it: $ pkg-config --libs --cflags gsettings-desktop-schemas Package gsettings-desktop-schemas was not found in ...
1
vote
1answer
399 views

Python 3 shared libraries and pkg-config on Ubuntu 20.04 LTS

I have just upgraded to Ubuntu 20.04 LTS and while the pkg-config query pkg-config --cflags python3 returns sensible values for C compilation, the query pkg-config --libs python3 returns nothing. I ...
10
votes
2answers
10k views

Unable to compile FFmpeg on Ubuntu 20.04

I am following this compilation guide for FFmpeg. After compiling all the required dependencies, I get the following error in the last section. ERROR: gnutls not found using pkg-config This error ...
5
votes
1answer
3k views

Can't install RMagick 4.0.0. Can't find ImageMagick with pkg-config on Ubuntu 16.04

Trying to install pdfbeads on Ubuntu LTS 16.04 with the command $ gem install pdfbeads I'm getting the error message "ERROR: Can't install RMagick 4.0.0. Can't find ImageMagick with pkg-config" Below ...
2
votes
0answers
404 views

Can't find Gtk header file

I've searched this forum and the internet, but still can't find a solution. I want to compile a simple Gtk example program. I use the recommended pkg-config in the compile instruction. But pkg-config ...
1
vote
1answer
3k views

OpenSSL installed but no openssl.pc (needed by pkg-config)

Can .pc files be generated if they aren't installed? I have installed OpenSSL but there is no 'openssl.pc' on my computer. Any suggestions?
0
votes
0answers
1k views

Problem with Wayland

I had a problem with the wayland-protocol during the installataion of the Kitty terminal, the system didn´t find it, so I tried with sudo apt install libwayland-bin. I knew that this command install ...
7
votes
1answer
16k views

Configure error: could not find the zlib library

I am trying to install lalsuite on ubuntu according to the instructions here: https://pycbc.org/pycbc/latest/html/install_lalsuite.html Everything went smoothly until I ran ./00boot ./configure --...
1
vote
2answers
4k views

Package libprotobuf was not found in the pkg-config search path

I am installing protobuf-c 1.3.2 after ./configure it shows protobuf-c 1.3.2 CC: gcc CFLAGS: -g -O2 CXX: g++ -std=...
1
vote
1answer
3k views

Can't compile surf, gcr-3.pc not found, glib.h not found

I'm trying to compile surf browser from source with little success. It looks like I miss gcr-3.pc. edit : I'm on Ubuntu 19.04 c99 `pkg-config --cflags x11` `pkg-config --cflags gtk+-3.0 gcr-3 ...
3
votes
1answer
1k views

Strange GLib error in pkg-config result

Ubuntu 18.04 fresh installed. $ pkg-config --list-all 2>&1 | grep -A2 -B2 GLib (pkg-config:31662): GLib-CRITICAL **: 06:08:21.279: g_string_insert_len: assertion 'len == 0 || val != NULL' ...
0
votes
1answer
2k views

openssl and PKG_CONFIG_PATH problems while configuring mongolite package from R

The package "mongolite" won't install itself when trying in RStudio. So I downloaded it from https://cran.r-project.org/web/packages/mongolite/, extracted it in the folder which manages the R packages ...
3
votes
2answers
2k views

Unable to install geojson package for R

I have Ubuntu 16.04 and R 3.4.3. When I run install.packages("geojson", dep=TRUE) in R, I get the following error: dependency ‘protolite’ is not available for package ‘geojson’ Therefore I run ...
1
vote
3answers
13k views

ImportError: No module named pkg_resources

I am trying to install tensorflow-gpu for python 3. when I run pip3: sudo -H apt-get pip3 install tensorflow-gpu I get: Traceback (most recent call last:) File "/usr/local/bin/pip3", line 5, in &...
0
votes
1answer
493 views

Problem with getting libconfig's cflags

I'm trying to compile a C project that uses libconfig. I've installed libconfig8-dev package and I'm trying to retrieve the c flags required to compile the project. Running pkg-config --libs libconfig ...
2
votes
1answer
4k views

what is the value for JAVA_HOME?

What is the correct value for JAVA_HOME? thufir@doge:~$ thufir@doge:~$ whereis java java: /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz thufir@doge:~$ thufir@doge:~$ which java /usr/...
0
votes
1answer
833 views

Syntax to declare the JAVA_HOME variable in /etc/environment?

Where and how does the variable JAVA_HOME go? What, specifically, should the environment file contents be to correctly set JAVA_HOME alongside PATH? current environment: thufir@doge:~$ thufir@...
1
vote
2answers
3k views

When I open a terminal, before any commands, I see “PKG_CONFIG : command not found”

When I open my terminal window I see this string PKG_CONFIG: command not found Why does it appears? It appears automatically right after I open the terminal window Here is the output of cat ~/....
1
vote
0answers
6k views

How do I tell c++ where opencv2/opencv.hpp is?

Note: this is in the context of installing cafe. At the moment I have openCV installed at: /home/myName/Documents/my folder/opencv/ However C++ can't find it here, as demonstrated by the fact ...
-1
votes
1answer
4k views

Installing glib-2.50.1: No package 'libpcre' founbd

[UPDATE] As per fkraiem's suggestion below, about the rabbithole (indeed, it does feel like that!), this is the first problem I encounter, and the reason I'm trying to install glib et al. After ...
1
vote
1answer
764 views

cpan installer fails with “Cannot find pkg-config command.”

I am setting up a new Ubuntu server (Ubuntu 16.04.1 LTS (Xenial Xerus)), and I want to install everything that I had installed on my previous server with Ubuntu 14.04. Among those the cpan module Text:...
8
votes
1answer
790 views

Another (unsolvable) “old glib” problem

Im sure veterans know the drill (as this question seems to have been asked a billion times), but I am getting this error while installing a piece of software ( ./configure )from source: *** 'pkg-...
0
votes
1answer
4k views

E: Package 'pkg-config' has no installation candidate [closed]

I am on Ubuntu 14.10 and I try to install new mongodb driver, but I have this error: configure: error: Cannot find OpenSSL's libraries ERROR: `/tmp/pear/temp/mongodb/configure' failed I find that i ...
1
vote
1answer
884 views

compile error: library is installed (apt-cache policy shows it) but pkg-config does not find it

I am sorry, I am not experienced with gcc and installing packages from source, and can't fix my problem: I am trying to install ncmpcpp from source (github) on Ubuntu 14.04 (the reason is that ...
25
votes
3answers
71k views

CMAKE Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)

I have been building freerpd client for Eclipse in Ubuntu 14.04 but an error is popping up : Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) when I use CMake 2.8. How can I get rid of it?
2
votes
1answer
977 views

How can I install IDL 8.4 from .pkg installation file on Ubuntu?

I would like to install the IDL 8.4 on my Ubuntu 14.04... The installation requires starting the Install_IDLENVI.pkg installation app. Everything I have tried so far following various advices on ...
2
votes
0answers
625 views

Resolving pkg-config to packages

I'm trying to build something from source, and the configure tells me something like this: checking for foo... Package foo was not found in the pkg-config search path. So I have to go and install ...
1
vote
1answer
4k views

“pkg-config --modversion glib-2.0” reports older version

I have Ubuntu 14.04 32 bit. I am trying to compile an application from source code. It gives me an error message during linking in make process though ./autogen.sh and ./configure passed without ...
0
votes
2answers
780 views

infinity plugin audacious

Hey guys I'm quite new to ubuntu so sorry for asking newbi questions but: I found this interessting visualization plug-in for audacious (http://sourceforge.net/projects/infinity-plugin/) but I have no ...
0
votes
1answer
4k views

Install new version iw

Trying to install a new version of iw. After extracting, i run the "make" command. /bin/sh/: 1: pkg-config: not found Can not found any development files for libnl I have installed libnl-3-200 ...
0
votes
1answer
3k views

Error while compiling

I need to compile a simple display image code in opencv on Ubuntu Linux platform but I am getting some errors as follows: gcc: error: ‘pkg-config: No such file or directory gcc: error: opencv‘: No ...
2
votes
0answers
2k views

Pkg-config missing many pc files

I have been trying to compile gargoyle and keep getting the fallowing error. Package fontconfig was not found in the pkg-config search path. Perhaps you should add the directory containing `...
1
vote
1answer
487 views

How do I add QtDeclarative to the pkg-config list

I installed today the libqt5 and QtQuick development stacks. In trying to also install the hsqml packages for Haskell, hsqml reports that QtDeclarative is not listed in pkg-config. However, I have ...
5
votes
1answer
16k views

Pkg-Config Error (No such file or directory)

if i try and compile the tutorial code for GTK3 with the command gcc simple.c -o simple 'pkg-config --libs --cflags gtk+-3.0' it gives off the error gcc: error: pkg-config --libs --cflag gtk+-3.0: ...
105
votes
9answers
420k views

PKG_CONFIG_PATH environment variable

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. What does this mean ?
3
votes
2answers
3k views

Why does “pkg-config” print only a blank space with the “--cflags” option?

I installed libcurl using :sudo apt-get install libcurl4-openssl-dev. When I try to compile my program I read that we have to pass where libcurl is located to the GCC compiler(although for me its ...
1
vote
1answer
3k views

libnotify, PKG_CONFIG_PATH

I am installing spidermonkey on Ubuntu 11.10. When running ./configure I receive a dependency error that libnotify >= 0.4 is not met. Located the package in Ubuntu as gir1.2-notify-0.7 So then I ...
0
votes
1answer
107 views

vtg-plugin dependencies not met

I am trying to compile the vtg-plugin from source however I am getting the error "vtg-dependencies not met" which complains about libpeas and gedit. The version of gedit it is asking for is 2.91.0, ...
3
votes
2answers
3k views

Error when running ./configure on Ubiquity source

I have added a patch to the Ubiquity source and am attempting to build and install the package to test it, however I get the following error when I execute ./configure, checking for pkg-config... /...