I am not talking about compile time. What I am talking about is deployment.

Once my app is deployed to a user's machine, my application is not able to
locate gtkmozembed unless the user manually changes ld.so.conf or
LD_LIBRARY_PATH. And I prefer that the user does not have to do that.

Kennedy

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 21, 2005 8:17 AM
> To: + Kennedy Kok +
> Cc: [email protected]
> Subject: Re: Gtkmozembed question
> 
> On Thu, 20 Oct 2005, + Kennedy Kok + wrote:
> > I am using gtkmozembed in my application running on Ubuntu. I noticed
> that
> > by default the library path to gtkmozembed is not included in
> ld.so.conf. So
> > my application fails as it is unable to find gtkmozembed.so. Of course,
> the
> > user can set the correct information in ld.so.conf or LD_LIBRARY_PATH.
> But
> > is there something I as the developer can do? Can I embed the full path
> of
> > gtkmozembed in the application itself?
> 
> The paths can be obtained with
> 
>    pkg-config --variable=libdir mozilla-gtkmozembed
> 
> The name 'mozilla-xpcom' varies, however, depending on
> the browser and system:
> 
>    mozilla-gtkmozembed
>    firefox-xpcom
>    mozilla-firefox-xpcom
> 
> The first is from my (Knoppix) Debian system,
> the second was reported on Gentoo, the last is from Mandriva.
> I'm not sure if (mozilla-)firefox-gtkmozembed exists.
> You can also use mozilla-xpcom instead of mozilla-gtkmozembed.
> I'm not really sure what the use of `pkg-config` is if the
> names it uses varies on different systems, however.
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to