It turns out that what I needed to do was define EXTRA_DSO_LDOPTS in my
makefile to include the library I wanted linked with my shared object.

All seems to be working fine now.

Steve

Ian macLean wrote:

> What error are you getting ?
>
> "Steve Crouse" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hello,
> >
> >     I just started woking with XPCOM and am having a few problems. I can
> > get simple components working but I am having trouble building more
> > complex components that need to be linked with external libraries.
> >
> > load the component and it works fine. But when I try and do the same
> > thing by loading the component in Mozilla using XPConnect I get an error
> > as soon as I try and call one of the methods located in the xmms
> > library. It seems like it's linking the library fine for the executable
> > test app but not for the shared object that gets put in
> > mozilla/dist/bin/components/
> >
> >     Can anybody give me an example of how to do this properly?
> >
> > Thanks,
> >
> > Steve Crouse
> >
> >


Reply via email to