Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-29-2008, 11:58 AM   #1
LQ Newbie
Registered: May 2008
Posts: 6

Rep: Reputation: 0
trouble with re-install pkg-config-0.22

after I install pkg-config-0.22

[lukai@192 lukai]$ PKG_CONFIG_PATH="/usr/lib/pkgconfig"
[lukai@192 lukai]$ export PKG_CONFIG_PATH
[lukai@192 lukai]$ pkg-config

Must specify package names on the command line
[lukai@192 lukai]$
[lukai@192 lukai]$ pkg-config --modversion freetype2.pc
Failed to open 'freetype2.pc': No such file or directory
No package 'freetype2.pc' found
[lukai@192 lukai]$ ls /usr/lib/pkgconfig
cairo-ft.pc gio-2.0.pc gobject-2.0.pc libpng.pc
cairo.pc gio-unix-2.0.pc gthread-2.0.pc libuser.pc
cairo-pdf.pc glib-2.0.pc gtk-engines-2.pc libxml-2.0.pc
cairo-png.pc gmodule-2.0.pc gtk-thinice-engine-2.pc libxml.pc
cairo-ps.pc gmodule-export-2.0.pc libmetacity-private.pc openssl.pc
cairo-svg.pc gmodule-no-export-2.0.pc libnautilus.pc pixman-1.pc
fontconfig.pc gnome-mime-data-2.0.pc libpanelapplet-2.0.pc vmci.pc
freetype2.pc gnome-python-2.0.pc libpng12.pc
[lukai@192 lukai]$ echo $PKG_CONFIG_PATH
[lukai@192 lukai]$

and I have successfully installed freetype
and the env variant is correct
what caused that
thanks for your help!
Old 05-29-2008, 10:02 PM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
You don't include the .pc. The command and result looks like
81 files(65M bytes) - /home/weibullguy
weibullguy@aragorn for 268D10h16m $ pkg-config --modversion freetype2   
Old 05-30-2008, 08:47 AM   #3
LQ Newbie
Registered: May 2008
Posts: 6

Original Poster
Rep: Reputation: 0
[lukai@192 lukai]$ pkg-config --modversion freetype2
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
[lukai@192 lukai]$
[lukai@192 lukai]$

when I use the command that you offer,it shows the errer message.
but I have installed freetype2
how can I do?
Old 05-30-2008, 11:08 AM   #4
LQ Newbie
Registered: May 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I continue to explore the problem
my linux version is redhad 9,and I use command "rpm" to find how many package I have installed
I found such as freetype,fontconfig and other package is installed,but the version is lower
now I install higher version on it by tarball and have not unistall the old version,maybe it caused many problem
now i dont know how to deal with these problems

the only thing that I want to do is to install msn,but the version is lower so cant connect normally.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pkg-config error during install gentoonix Linux - Software 5 08-15-2007 12:34 AM
pkg-config not found after install GTK makaveli_0000 Linux - Software 5 01-13-2007 06:10 PM
trying to install a java .bin trouble creating deb pkg randell6564 Ubuntu 4 06-30-2006 10:04 PM
canīt install pkg-config?? synergy2 Linux - Newbie 1 06-17-2006 02:12 AM
pkg-config version is reported incorrect after install (Mandriva 10.2) Luna-tic Linux - Software 8 04-29-2006 09:31 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration