Hi,

I've had a chance to look into this. Apparently you need to set the
environment variable

DYLD_LIBRARY_PATH

to the directory in which the executable is found. Doing so resolves
the problem. I have yet to figure out how to make that happen
internally in the base executable. On Linux and other similar
platforms you would set LD_RUN_PATH as is already done in setup.py.
That doesn't appear to work on Mac OS X. If anyone has a clue as to
how to get this to work I'm all ears!

Anthony

On Thu, Jul 8, 2010 at 10:28 AM, Mathan <[email protected]> wrote:
> Hi,
>
> I have freezed python3.1-pyqt4 scripts in mac os x. But i could not execute
> the app in other mac os x machines where python3 is not installed.
> Following error is thrown while executing the app
> "
> dyld: Library not loaded:
> /Library/Frameworks/Python.framework/Versions/3.1/Python
>   Referenced from: /Users/Test/Desktop/App/Main
>   Reason: image not found
> Trace/BPT trap
> "
> "/Library/Frameworks/Python.framework/Versions/3.1/Python"
> Above path which it is searching is actually in my system where the script
> is freezed.
> Help needed to resolve the above issue.
>
> Thanks in advance
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> cx-freeze-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to