ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pyxpcom
pyxpcom
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved