Many thanks for the feedback, I'll make a new build including the missing library soon, probably tomorrow. There are quite probably a few other missing libraries, so I'll use the ldd command on the binary file to include them all.
Kevin Le mardi 14 mai 2013 02:09:18 UTC+2, Bartosz Debski a écrit : > > No dice on Slackware 14.0 64bit with 32bit env installed as well: > > ~/Downloads/A Scholar In The Woods - Post Compo - Linux$ ./play > ./play: /lib/libcrypto.so.1.0.0: no version information available > (required by /home/braqoon/Downloads/A Scholar In The Woods - Post Compo - > Linux/libpython3.2mu.so.1.0) > ./play: /lib/libssl.so.1.0.0: no version information available (required > by /home/braqoon/Downloads/A Scholar In The Woods - Post Compo - > Linux/libpython3.2mu.so.1.0) > Traceback (most recent call last): > File > "/usr/local/lib/python3.2/dist-packages/cx_Freeze/initscripts/Console3.py", > line 27, in <module> > File "play.py", line 6, in <module> > File "/home/ubuntu/Téléchargements/Post Compo/Windows > build/constantes.py", line 3, in <module> > File > "/usr/local/lib/python3.2/dist-packages/pygame-1.9.2pre-py3.2-linux-i686.egg/pygame/__init__.py", > > line 99, in <module> > File "ExtensionLoader_pygame_base.py", line 11, in <module> > ImportError: libtinfo.so.5: cannot open shared object file: No such file > or directory > > I got no pygame or ptyhon 3.x on 32bit, so I guess this can be treated as > "vanilla" environment. > > Hope it helps > Bart > > On Tue, May 14, 2013 at 12:06 AM, Thomas Kluyver > <[email protected]<javascript:> > > wrote: > >> Seems to be working here, though I'm also using Ubuntu, so that's not >> such a challenge. >> >> Best wishes, >> Thomas >> >> >> On 13 May 2013 23:49, Kevin Locoh <[email protected] <javascript:>>wrote: >> >>> Thanks for the tip, I've looked into the doc and made a few searchs, and >>> in the end I've managed to include all dependencies using the >>> "bin_path_includes" property (I set the value to "/usr/lib"). >>> "include_files" seems to be rather dedicated to data files (e.g mostly the >>> images, sounds and fonts used in the game). Anybody would mind trying my >>> Linux build (a Post Compo release of my Ludum Dare entry)? >>> https://dl.dropboxusercontent.com/u/8347940/A%20Scholar%20In%20The%20Woods%20-%20Post%20Compo%20-%20Linux.tar.gz >>> >>> Thanks again in anycase, it was really helpful! >>> >>> Le lundi 13 mai 2013 11:02:51 UTC+2, Thomas Kluyver a écrit : >>> >>>> On 13 May 2013 00:32, Kevin Locoh <[email protected]> wrote: >>>> >>>>> Oh sorry, I'd completely missed your message. Actually, it works on my >>>>> computer with Ubuntu, but I had understood that cx_Freeze doesn't include >>>>> every C extension library, in my case the SDL, which makes the tarball >>>>> quite dependent of the distro: the game frozen with cx_Freeze would >>>>> probably crash with a "module not found" message on another platform. Am >>>>> I >>>>> mistaken anywhere? I somehow hope so, it'd much easier for me to keep >>>>> cx_Freeze which already works with Python 3. >>>> >>>> >>>> It's supposed to include all the libraries that the program needs to >>>> run, but not standard system libraries like libc. It might not be >>>> detecting >>>> SDL as a dependency, or it might be misclassifying it as a system library. >>>> Either way, you can force it to include a library with the include_files >>>> option (see docs at [1]). >>>> >>>> If there's a simple way to get it working, you can contribute a hook >>>> for pygame to include files that the automatic detection misses. >>>> >>>> [1] http://cx_freeze.readthedocs.org/en/latest/distutils.html >>>> >>>> Best wishes, >>>> Thomas >>>> >>> >> >
