Is there any particular reason why the shared object files
(in particular wxPython.wxc.so) are distributed linked with the
-rpath option pointing at /usr/lib/wxPython ?
For those that aren't familiar with this stuff, when a shared
library is linked with a -R/-rpath option, it has hardcoded into
it the location of other libraries it depends on. You cannot
override or augment the location (eg by using $LD_LIBRARY_PATH
or fixing /etc/ld.so.conf)
This is causing me huge grief as I can't package a wxPython
application.
I can't put the files in /usr/lib/wxPython as the user may
already have a different version of wxPython in that location.
If rpath hard linking is going to happen, it should at least
include the version number in the directory name to allow
multiple concurrent versions of the libraries to be installed.
And even if it did that, there is still the problem of multiple
standalone installations wanting to own the same fixed location.
I would settle for a program that can modify the .so file that
I package to point rpath at a different location. (objdump -p
shows where it is pointing). Unfortunately I can't seem to
find any.
wxPython really should be compiled with -rpath so that it
can be relocated. This will require /etc/ld.so.conf and/or
$LD_LIBRARY_PATH but gains far greater flexibility.
For those who are curious, I am using Anthony Tuininga's
cx_Freeze tool which does a really good job. Now if only
wxPython would play ball ...
Roger