sabarinathan wrote:
I had built a xpcom component for Firefox 1.5 in linux.
Then i placed the component under firefox/components/ directory.
Now i tried to execute `*ld components/libqecomp_FIREFOX_1.so*` to find
any failed dependencies.
It throwed the error (given below Error from ld command). Hence as given
in the warning i executed `*ld -rpath .
components/libqecomp_FIREFOX_1.so*` from firefox folder. Then the ld
doesn't throw any error.
So i assume there may be a problem in linking while creating the component.
No, it looks like your component is fine. The LD_LIBRARY_PATH environment is
munged by the "run-mozilla" script during startup, besides which xpcom and
xpcom_core are the ones who are going to be actually loading your component,
so you can be assured they will already be present.
However, please be aware that if you're compiling your code with
MOZILLA_INTERNAL_API and linking against xpcom_core, your component is using
nonfrozen APIs and may not work in future versions of Firefox.
--BDS
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom