problem with freeze

loril at mmrd.com loril at mmrd.com
Mon May 21 15:25:31 EDT 2001


I have used freeze in the past with little or no difficulty, but
I cannot freeze a simple program that is using a
home-made shared object.


For example, the following program runs as a script.
The code is simple  for <foo.py>
and bar is a shared object in the same directory <bar.so>
-------------------------------------------------------------------
import bar
print
bar.runMe()
print
-------------------------------------------------------------------


but when frozen I get the following error when run:
-------------------------------------------------------------------------------------------------------------

/home/work> foo
exec(): 0509-036 Cannot load program foo because of the following
errors:
        0509-022 Cannot load library bar.so.
        0509-026 System error: A file or directory in the path name does
not exist.
-------------------------------------------------------------------------------------------------------------




I ran the freeze command --

/home/work> freeze.py   -e/home/work/       t1.py
then run make

I assume I am doing some basic thing wrong here,
can anyone point me in a helpful direction?

Thanks






More information about the Python-list mailing list