distributing a app frozen by cx_freeze

Carl Banks invalidemail at aerojockey.com
Sat May 13 02:23:11 EDT 2006


Flavio wrote:
> Traceback (most recent call last):
>   File
> "/home/fccoelho/Downloads/cx_Freeze-3.0.2/initscripts/Console.py", line
> 26, in ?
>   File "epigrass.py", line 4, in ?
> ImportError: /home/flavio/freeze/qt.so: undefined symbol:
> _ZNK9QSGIStyle9classNameEv
>
> It is looking for the Original cx_freeze installation!!

I doubt it is.

Do you have the QT installed on the second system?  If you do, is it
the same version as on the original system?  Are you sure you copied
all the files over?  It looks like qt.so is trying to access a C++
symbol in another library (libqt.so perhaps?), but that other library
isn't installed.

cx_freeze probably only packages the Python module binding to the QT
library; not the library itself.  If so, you'll need to install QT on
the other system, or get cx_freeze to bundle up the QT shared library
(if the license allows it, of course), or rebuild the qt.so with the
static QT libraries.


Carl Banks




More information about the Python-list mailing list