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
194 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 ...
3
votes
1answer
1k 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
150 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 ...
0
votes
1answer
489 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
273 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 ...
3
votes
1answer
4k 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
2k 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
2k 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 ...
1
vote
0answers
476 views

how to verify reinstall pkg-config

In an attempt to solve another issue I tried to purge “pkg-config”. I was not successful , partially because of packages dependencies. I like to reinstall the “pkg-config” , however, I am getting ...
3
votes
1answer
498 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
1k 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
1k 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
2answers
7k 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
372 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 ...
1
vote
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
757 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
2k 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
5k 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
683 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
674 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
3k 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
749 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 ...
20
votes
3answers
54k 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
905 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
551 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
691 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
3k 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
2k 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
473 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
13k 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: ...
84
votes
9answers
351k 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
2k 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... /...