[gst-devel] Newbie trying to build test app

Jeremy Gregorio gunvalk at cox.net
Wed Oct 1 21:53:03 CEST 2003


    Hi all. I'm trying to build the test app from the Application 
Development Manual. gcc spits out:

g++: /usr/lib/pkgconfig/../gst/libgstreamer-0.6.la: No such file or 
directory

I guess the paths generated by pkgconfig are relative to my 
/usr/lib/pkgconfig dir, and so it's looking for libgstreamer-0.6.la in 
/usr/lib/gst. Trouble is, there is no /usr/lib/gst dir, and the file 
it's looking for is in /usr/local/lib. If I get clever and make a 
symlink to /usr/local/lib I get this:

/usr/lib/pkgconfig/../gst/libgstreamer-0.6.la: file not recognized: File 
format not recognized
collect2: ld returned 1 exit status

I've glanced over the pkgconfig man page and the gstreamer.pc file and 
can't figure out where it's deciding to make everything relative to 
/usr/lib/pkconfig. For the record, here's the output of pkconfig with 
cflags and libs options:


-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread 
-I/usr/lib/pkgconfig/.. -I/usr/lib/pkgconfig/../libs 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/libxml2  /usr/lib/pkgconfig/../gst/libgstreamer-0.6.la 
-Wl,--export-dynamic -pthread -lgobject-2.0 -lgmodule-2.0 -ldl 
-lgthread-2.0 -lxml2 -lz -lm -lglib-2.0 


Oh, one more thing, the install didn't copy the *.pc files to my 
/usr/lib/pkgconfig dir, is that normal? Thanks all and sorry for asking 
such an inane question :).

Jeremy Gregorio






More information about the gstreamer-devel mailing list