Thanks for the clarifications Anthony.

On Fri, 2010-02-19 at 21:04 -0700, Anthony Tuininga wrote: 
> The executable does not perform an unzipping of anything but it does
> require the .so files since they are C extension modules and the
> application requires them.

I now understand what the executables need to run. But it is still not
clear to me how to distribute the executables and libraries together.

For example, the build files contain libpython3.1.so.1.0. Clearly, this
is the python library and should be distributed. But it definitely
shouldn't be distributed in /usr/lib (e.g. as part of a .rpm), since it
would conflict with a packaged version of python. On the other hand, one
needs to guarantee that this library will be available, else the built
executables won't run: "somehow" libpython3.1.so.1.0 needs to be
distributed.

So, where should the .so files be installed ?

Additionally, should "other" files produced in the build directory, such
as libsys.sql from the py-postgresql project, be installed ? It seems
that such files sholudn't go in /usr/lib.

I am wondering if this calls for special support in cx_freeze to have
the executables built with it load their libraries (perhaps by setting
LD_LIBRARY_PATH, or in some other way) from a directory specified at
build time, e.g. /usr/share/<package_name>/lib.

Do you have any recommendations ?

Thanks again for all your help.
Kris


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to