Freeze Question

Discussion in 'Python' started by David Detlefsen, Aug 4, 2003.

  1. I'm trying to distribute a python program on SunOS 5.8 with python 2.2.1 and
    I think I'm having a shared library problem.

    I've tried running the 'frozen' program on two different machines and I get
    the following error message...

    'import site' failed; use -v for traceback
    Traceback (most recent call last):
    File "vnmrXserver.py", line 1, in ?
    File "/usr/local/lib/python2.2/SocketServer.py", line 131, in ?
    File "/usr/local/lib/python2.2/socket.py", line 41, in ?
    ImportError: No module named _socket


    I've read the warning in the freeze README about shared libraries and I do
    indeed see the "Warning: unknown modules remain..." message.

    So I guess I this means I have to rebuild python with static linking (this
    is a mystery to me) OR is there a way to hack the makefile (or perhaps some
    other file) and have the missing modules found and included in the frozen
    program without a rebuild of python?
     
    David Detlefsen, Aug 4, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nelson Xu

    .NET application freeze

    Nelson Xu, Sep 10, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,021
    Olaf Baeyens
    Sep 13, 2004
  2. chong tan

    freeze question..

    chong tan, Apr 20, 2005, in forum: Python
    Replies:
    0
    Views:
    313
    chong tan
    Apr 20, 2005
  3. mrstephengross

    Simple question about freeze

    mrstephengross, Feb 17, 2006, in forum: Python
    Replies:
    2
    Views:
    282
    Sybren Stuvel
    Feb 18, 2006
  4. mrstephengross

    Another simple freeze question

    mrstephengross, Feb 17, 2006, in forum: Python
    Replies:
    0
    Views:
    274
    mrstephengross
    Feb 17, 2006
  5. Replies:
    5
    Views:
    271
    Olivier Renaud
    Mar 15, 2007
Loading...

Share This Page