|
From: Ciaran W. <cia...@fr...> - 2003-05-13 17:03:55
|
Hi all, My knowledge of the intricacies of dynamic linking is limited, so I'd be grateful if anyone could clear up a couple of questions (all this is on linux). I'm writing a plugin for another application, and my plugin in turn uses OpenQuicktime. When my plugin is loaded the linker breaks loading the codecs; it can't find the oqt_allocate_video_codec function, which is in libopenquicktime.so. This doesn't happen in the executable->openquicktine->codec case, only with executable->myplugin->openquicktime->codec. So the problem is the dynamic linker won't search the libs my plugin was linked against for linking the codec. The workaround I found was to compile the codecs with -lopenquicktime so they have a dependency on openquicktime.so Looking at the dlopen man page suggested linking with -rdynamic might work, but it doesn't :( Can anyone shed any light on this? Or alternatively, how do I modify the autoconf stuff so the codecs are built with -lopenquicktime? Ciaran. |