Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-24-2015, 03:13 PM
|
#1
|
LQ Newbie
Registered: Feb 2015
Posts: 6
Rep: 
|
Missing .pc files in pkg-config
Hi everybody
I'm trying to compile the last version of Gimp (2.8.14), but i'm having some issues.
It doesn't recognize the installed libgegl-2.0 on the system, so i tried to compile gegl-2.0 from the source code, but it gives me other problems.
I noticed then that pkg-config is not finding many installed libraries, and when i tried searching for the .pc files on my system, i just found 5 of them, most are missing.
I already trying re-installing pkg-config, but it doesn't solve the problem.
So, any ideas of how can i rebuild them?
|
|
|
02-24-2015, 04:06 PM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Welcome to LQ.
Gegl : $ sudo apt-get install libgegl-dev
Gimp : $ sudo apt-get install gimp
..... which will provide version 2.8.10 (Ubuntu 14.04).
A manual install of gegl :
If you did $ cd gegl*/ && ./configure
... the file gegl-0.2.pc is hidden in /usr/local/lib/pkgconfig/
The gimp 'configure' will look in the PKG_CONFIG_PATH for the file.
Solution : You can either copy the file to /usr/lib/pkgconfig/,
or do this : $ cd gimp-2.8.14/
$ export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/ && ./configure
-
|
|
|
02-24-2015, 04:35 PM
|
#3
|
LQ Newbie
Registered: Feb 2015
Posts: 6
Original Poster
Rep: 
|
But i already did search for the .pc files in those folders, i searched for hidden files as well.
There are only 5 .pc files in the whole system, and there's no .pc file for libgegl, and there is no development package for libgegl, only debug symbols package
|
|
|
02-24-2015, 07:04 PM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
? Which Ubuntu version are you using ? ?
a) $ uname -a
b) $ cat /etc/issue
The most package config files.pc are in :
/usr/lib/<arch>-linux-gnu/pkgconfig/,
.. like /usr/lib/<arch>-linux-gnu/pkgconfig/gegl-0.2.pc
? Did you install libgegl-dev : $ sudo apt-get install libgegl-dev
( If you have Ubuntu 12.04 : No libgegl-dev, version 0.2.0 ).
The file gegl-0.2.pc is a small text file, 309B.
You can use the attached copy :
$ sudo cp gegl-0.2.pc /usr/lib/pkgconfig/
-
|
|
|
All times are GMT -5. The time now is 04:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|