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
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to