On Jul 5, 2007, at 15:04, Daniele Rizzo wrote: Hi all, i'm using pysvn (compiled by source with python2.3 on Mac Tiger) in my python application . On my computer (MAC) works fine, and the directory containing pysvn is /Users/myaccont/myapplication/pysvn.
When i try the same application on a another "CLEAN" Mac, where i copy the same directory pysvn of my computer ... pysvn don't works, because the pysvn module (_pysvn_2_3.so) searchs the depended libraries in /Users/myaccont/myapplication/pysvn.
-if i substitute the new absolute path on another Mac (example -> /Users/myanotehraccont/myapplication/pysvn), pysvn works fine
-if i specify a insert an relative path (or for example  executable _path/../) don't works.
I'm thinking that the best solution is recompiling pysvn with a static so (containing all dependencing). How can do that?
any ideas?
I solved all these problems with the building and kitting process that I use for pysvn.
and it will detail how to build your own pysvn kit.
Barry
|