Hi there,
I’m trying to create a binary file with cx_Freeze 4.3.3 on openSuse 42.1 (I use wxPython3.0), but on an empty openSuse system, I can’t run my program…
When I try to run my binary program on an empty system opensuse (without wxPython installed on it), I get this error :
Traceback(most recent call last):
File"/usr/lib64/python2.7/site-packages/cx_Freeze/initscripts/Console.py", line 27,in<module>
File"MyProject.py", line 4,in<module>
File"/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/init.py", line 45,in<module>
File"/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/core.py", line 4,in<module>
File"ExtensionLoader_wx__core.py", line 22,in<module>
File"ExtensionLoader_wx__core_.py", line 14,in bootstrap
ImportError: libwx_gtk2u_adv-suse.so.1: cannot open shared object file:No such file or directory
But that file “libwx_gtk2u_adv-suse.so.1” is indeed at root of the directory containing the binaries files :
-rwxrwx—1 regis users 191896025 oct.2015 libwx_gtk2u_adv-suse.so.1
-rwxrwx—1 regis users 57552825 oct.2015 libwx_gtk2u_aui-suse.so.1
-rwxrwx—1 regis users 578064025 oct.2015 libwx_gtk2u_core-suse.so.1
Any idea on what’s going on ?
Note :
when generating binaries files with cx_Freeze 4.3.3, I had warnings about “lib-dynload”, because in the directory /usr/lib64/python2.7/lib-dynload all the files can’t be executed.
I tried to put all these files with execution rights with chmod command, but the probleme remains…
I don’t really understand what the directory lib-dynload is usefull for ? It seems contain base libraries?..
Thx a lot