[gst-devel] Compiling Plugin with additional Libraries
sameer at nextbitcpu.com
Thu Feb 2 03:39:13 CET 2006
i really appreciate the help
but, i really need some guidance here... i dont wanna screw stuff up.
let me explain my scenario...
my libraries are in
the files inside this folder are like
and so on
the includes are in
(no problem with these getting included,...since i dont get compilation
dunno much about pkg-config...so u gotta help me here too
my pkg-config path is PKG_CONFIG_PATH=/opt/gstreamer/lib/pkgconfig
so plz lemme know how to locate the lib using pkg-config
and also about LDADD, LDFLAGS (actually i know a bit about this....just
wanna make sure)
awaiting ur reply
On Wed, 2006-02-01 at 21:37 +0100, Stefan Kost wrote:
> if ldd does not show the lib, its not linked against it. You should
> locate the lib using pkg-config or the like and add the lib to the
> variables in Makefile.am (LDADD, LDFLAGS, ..).
> If ldd shows the lib, but can't resolv it, check that /opt/lib is in you
> Sameer Naik wrote:
> > Hello everyone...
> > i have developed a plugin that need additional libraries to get working
> > the include file for my library are in
> > */opt/include*
> > and the library files are in
> > */opt/lib*
> > i have developed my plugin using the plugin template available in the
> > gstreamer cvs.
> > heres what i do to compile my plugin
> > ./configure CFLAGS=-I/opt/include LDFLAGS=-L/opt/lib
> > make
> > make install
> > (i do nothing more than this to tell the compiler about the libraries
> > i wanna use.)
> > my plugin gets compiled well
> > when i do a gst-inspect on my plugin it says "plugin or element not found"
> > i did an ldd on the .so file of my plugin to check what libraries its
> > compiled against, and none of
> > my libraries (the libs i wanna use) are shown, only the gstreamer,
> > glibc,and so on are shown...
> > im quite sure that the external libraries i want to use are not
> > getting linked to my plugin...probably im missing something..
> > looks like im missing something really minor, something im not aware
> > of :)...
> > plz help
> > thanks in advance
> > take care
> > Sameer
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel