LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-16-2009, 12:07 PM   #1
HarryBoy
Member
 
Registered: Apr 2008
Distribution: MontaVista Linux Version 4.0.1, Professional Edition
Posts: 215

Rep: Reputation: 16
Package gstreamer-0.10.23 was not found in the pkg-config search path.


I'm trying to make a gStreamer cpp file using the following:

gcc -Wall$(pkg-config --cflags --libs gstreamer-0.10.23) test.cpp -o test


But I get the error:
Package gstreamer-0.10.23 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.23.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10.23' found


I have installed gstreamer-0.10.23. What do I have to do to solve my problem?

Thanks
 
Old 12-16-2009, 04:41 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Depends where you installed gstreamer-0.10.23.

Manually installed to /usr/local/ ?
Or installed as a binary package ?
( You may then be missing gstreamer-devel ).

Example, if installed to /usr/local/ :

export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/

The command is temporary, the path will reset to default,
when you close the terminal window.
.....

Last edited by knudfl; 12-16-2009 at 04:44 PM.
 
  


Reply


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
Package xmuu was not found in the pkg-config search path shachter Linux - Software 7 11-23-2014 05:05 PM
pkg-config-path prakash.akumalla Linux - Newbie 13 02-25-2013 04:53 PM
pkg-config search path? ironfistchamp Linux - Newbie 2 02-12-2006 09:00 AM
How to set the path for pkg-config?? westman SUSE / openSUSE 4 02-07-2006 10:16 PM
pkg-config, gaim.pc not found ncharoe Linux - Newbie 12 01-15-2005 12:07 PM


All times are GMT -5. The time now is 04:43 AM.

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