> Sounds like there is a library missing, so I commented the regex in
> bindepend.py so that /usr/lib and /lib are included, this time the
> libraries are sent to the distribution folder (I find the libQtCore.so.
> 4) but the error is still the same :
Use ArchiveViewer.py to see whether it is put into the archive.
Otherwise try copying this file onto the target computer, too.
> ImportError: ./PyQt4.QtCore.so: undefined symbol:
> _ZN24QXmlStreamEntityResolver13resolveEntityERK7QStringS2
>
> Anyone has an idea of what's happening ?
This is a typical error is library versions do not match _exactly_. This
_ZN... stuff is some build-date identifier which is put around the
symbol names. So you need the same version on both computers. Try to fix
the other problem, it's much more helpful :-)
--
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP
Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de
> I do it more clear (I hope) for my current problem : It's like the
> Builded application is ignoring the modules that are present in it's
> dist folder, libQtCore.so.4 is ignored that's for sure (I commented
put this at the very beginning of your script:
import os
print os.environ['LD_LIBRARY_PATH']
print os.environ['_MEIPASS2']
Post the result here.
> 'LD_LIBRARY_PATH' and '_MEIPASS2' keys are missing from os.environ :|
??? This is very, very wierd!
Have you checked the tipps at
<http://pyinstaller.hpcf.upr.edu/docs/Manual_v1.1.html#when-things-go-wrong>?
What is your spec-file?
What are your command lines for building the executable?
What is your command line for running the executable?
You are creating the exe in the current dir, but all other required
files are put into dist/sIBL_GUI/
Try running dist/sIBL_GUI/sIBL_GUI
> mmmh I find my exe in dist/sIBL_GUI/sIBL_GUI and that's from where I'm
> launching the ./sIBL_GUI
Hard to debug remotely.
On another list I got these tips regarding PyInstaller and PyQT (untested):
* Use SVN trunk since only this includes the hooks for PyQT 4
svn co http://svn.pyinstaller.python-hosting.com/trunk pyinstaller
* the hook depends on whether PyQT 3 or PyQT 4 is used.
* list of hooks:
<http://pyinstaller.python-hosting.com/browser/trunk/hooks/>
Hope this helps.