[pyxpcom] Xulrunner Dynamic Linking issues for libpyloader under linux and mac
by Scott Robertson other posts by this author
Feb 26 2007 6:02PM messages near this date
view in the new Beta List Site
[pyxpcom] Can Pyxpcom now be used for DOM programming?
|
[pyxpcom] Wrapping an existing python module with PyXPCOM
Anyone else having issues with libpyloader on Mac and Linux when using
it with XulRunner?
The problem I'm having is that libpyloader is linked against libxul,
libxpcom and libpyxpcom but can't find them from the XRE directory at
runtime unless I explictly set LD_LIBRARY_PATH (on linux) or copy
libpyxpcom.dylib to <myapp> .app/Contents/MacOS.
For those of you who aren't famillar with XulRunner's layout,
xulrunner libraries typically live outside of you're xulrunner app (or
as a sub directory of your app). This is commonly referred to as the
XRE Directory. You then copy a small stub program to your xulrunner
app which when ran finds the XRE for you then does some xpcom magic
to get everything running.
In my case on linux xulrunner is in /usr/lib/xulrunner and on mac
it's in /Library/Frameworks/Xulrunner.framework
_______________________________________________
pyxpcom mailing list
pyxpcom@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|