Ah, /lib and /usr/lib is indeed where those libraries are coming from. I think that I'll take your suggestion to require those dependencies to be installed by the user. That sounds like a lot less work, and would have the bonus feature of a smaller distribution size and less headache keeping up with security patches for all the dependencies I need. :)
Thanks, -Fredric On Fri, Jun 3, 2011 at 1:47 PM, Anthony Tuininga <anthony.tuini...@gmail.com> wrote: > Hi, > > cx_Freeze has a set of directories that it ignores when looking at > binary dependencies. The reason for this is simple: there is some > "base" software that can reasonably be expected to be included on > target machines and you wouldn't want to ever include ALL binary > dependencies! The default directory to exclude on Linux systems is > /lib and /usr/lib and I suspect that is where all of the libraries you > reference below are found. So you can explicitly include them in your > setup.py so that they get copied even though they are in a system > directory where dependencies are normally ignored OR you can list the > system software that is expected to be installed before your > application will run properly. Since most Linux systems have software > repositories that can be accessed and installed from easily the last > option often makes sense -- but you can choose whatever combination > you would like to see, of course. > > Hope that helps. > > Anthony > > On Fri, Jun 3, 2011 at 12:00 PM, Fredric Dorothy > <fredricdoro...@gmail.com> wrote: >> Hello, >> >> I just tried the wx sample in cx_Freeze (source code version 4.2.3 on >> an Ubuntu 11.04 laptop). Here is what I ran from the samples/wx >> folder: >> >> python setup.py build >> >> The build worked locally on my system, but once I copied the >> distribution onto a fresh install of a 32-bit Fedora 15 the >> application was missing libraries. I had to add the following >> libraries (including symlinks) before the sample application would run >> on Fedora 15: >> >> libcrypto.so.0.9.8 >> libssl.so.0.9.8 >> libtiff.so.4 >> libtiff.so.4.3.3 >> libwx_baseu-2.8.so.0 >> libwx_baseu-2.8.so.0.7.0 >> libwx_baseu_net-2.8.so.0 >> libwx_baseu_net-2.8.so.0.7.0 >> libwx_baseu_xml-2.8.so.0 >> libwx_baseu_xml-2.8.so.0.7.0 >> libwx_gtk2u_adv-2.8.so.0 >> libwx_gtk2u_adv-2.8.so.0.7.0 >> libwx_gtk2u_aui-2.8.so.0 >> libwx_gtk2u_aui-2.8.so.0.7.0 >> libwx_gtk2u_core-2.8.so.0 >> libwx_gtk2u_core-2.8.so.0.7.0 >> libwx_gtk2u_fl-2.8.so.0 >> libwx_gtk2u_fl-2.8.so.0.7.0 >> libwx_gtk2u_gizmos-2.8.so.0 >> libwx_gtk2u_gizmos-2.8.so.0.7.0 >> libwx_gtk2u_gizmos_xrc-2.8.so.0 >> libwx_gtk2u_gizmos_xrc-2.8.so.0.7.0 >> libwx_gtk2u_gl-2.8.so.0 >> libwx_gtk2u_gl-2.8.so.0.7.0 >> libwx_gtk2u_html-2.8.so.0 >> libwx_gtk2u_html-2.8.so.0.7.0 >> libwx_gtk2u_ogl-2.8.so.0 >> libwx_gtk2u_ogl-2.8.so.0.7.0 >> libwx_gtk2u_plot-2.8.so.0 >> libwx_gtk2u_plot-2.8.so.0.7.0 >> libwx_gtk2u_qa-2.8.so.0 >> libwx_gtk2u_qa-2.8.so.0.7.0 >> libwx_gtk2u_richtext-2.8.so.0 >> libwx_gtk2u_richtext-2.8.so.0.7.0 >> libwx_gtk2u_stc-2.8.so.0 >> libwx_gtk2u_stc-2.8.so.0.7.0 >> libwx_gtk2u_svg-2.8.so.0 >> libwx_gtk2u_svg-2.8.so.0.7.0 >> libwx_gtk2u_xrc-2.8.so.0 >> libwx_gtk2u_xrc-2.8.so.0.7.0 >> >> Should I have to manually include all of these dependencies, did I not >> run the sample correctly, or should I be using a different version of >> cx_Freeze? Thanks. >> >> -Fredric >> >> ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with vRanger. >> Installation's a snap, and flexible recovery options mean your data is safe, >> secure and there when you need it. Discover what all the cheering's about. >> Get your free trial download today. >> http://p.sf.net/sfu/quest-dev2dev2 >> _______________________________________________ >> cx-freeze-users mailing list >> cx-freeze-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users >> > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > cx-freeze-users mailing list > cx-freeze-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users