Re: [cx-freeze-users] SOLUTION to a specific Segmentation Fault for binaries generated from cxFreez
Brought to you by:
atuining
From: U. A. E. <ar...@cd...> - 2008-03-07 22:43:48
|
Actually these are located in /usr/lib/nvidia and /usr/lib/nvidia/tls on x86 Fedora 8 and /usr/lib64/nvidia and /usr/lib/nvidia/tls on x86_64 Fedora 8. Anything in a subdirectory of a GLOBAL_BIN_EXCLUDE directory does not appear to be automatically excluded, however. Thus, those aforementioned directories would need to be added to the "global excludes". Oh, and don't forget about lib64 directories (i.e. /usr/lib64, /lib64, etc...). Either way, we prefer to include/ //usr/lib and /usr/lib64 in our frozen subject, but not /usr/lib<64>/nvidia/* Thanks a bunch! Anthony Tuininga wrote: > I think that would be a good idea. Ordinarily these are in /lib or > /usr/lib though, aren't they? Anything in those directories is > automatically excluded. Could you provide me the modified contents of > GLOBAL_BIN_EXCLUDES in cx_Freeze/freezer.py that will resolve this > issue for you? Thanks. > > Anthony > > On Thu, Mar 6, 2008 at 4:13 PM, U. Artie Eoff <ar...@cd...> wrote: > >> We use cxFreeze4.0b1 to make a frozen Fedora 8 32-bit binary that >> depends on OpenGL, PyOpenGL, wxPython, etc... >> This frozen binary is expected to be distributed to 32-bit and 64-bit >> Fedora 8 users. However, the other day we discovered that the frozen >> binary would seg. fault on some users PC's and not others. Everyone in >> this use case was running Fedora 8 x86_64 (64-Bit) OS's. After much >> frustration we discovered that some users had different nvidia and GL >> libraries installed by default on their systems.... >> >> To make a long story short, THE SOLUTION was to remove libGL.so, >> libGLcore.so, libnvidia-tls.so from the distributed frozen binary >> package. The application then ran fine on everyones PC's. >> >> Maybe the GL libraries should be excluded by default in the next release >> of cx freeze... >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> cx-freeze-users mailing list >> cx-...@li... >> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > cx-freeze-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > > |