LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 11:07 AM   #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, 03:41 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 03:44 PM.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 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
Open Source Consulting | Domain Registration