On Sat, 2010-11-20 at 07:42 -0800, dhyams wrote: > On OSX (I have not had a chance to check linux, where similar issues > would probably show up), I'm getting copies of the same shared lib in > my one-dir style distribution. For example, > > > ['cepro/libwx_baseu_xml-2.9.1.0.0.dylib', 'cepro/ > libwx_baseu_xml-2.9.dylib'] > ['cepro/libwx_baseu-2.9.1.0.0.dylib', 'cepro/libwx_baseu-2.9.dylib'] > ['cepro/libwx_osx_carbonu_html-2.9.1.0.0.dylib', 'cepro/ > libwx_osx_carbonu_html-2.9.dylib'] > ['cepro/libwx_osx_carbonu_core-2.9.1.0.0.dylib', 'cepro/ > libwx_osx_carbonu_core-2.9.dylib']['cepro/ > libwx_osx_carbonu_adv-2.9.1.0.0.dylib', 'cepro/ > libwx_osx_carbonu_adv-2.9.dylib'] > > > I can easily ( and did ) write some code in my .spec file to remove > the duplicates, but I figured you would want to know. When I get some > more time, I'll try to suss out why this is happening...but I thought > I'd post it so that if you know immediately, it can be fixed. > > Basically it's just picking up both the actual library and its > symlink, and copying both.
The point here is that one should package both the symlink *and* the regular file (because it looks like both are required). It is well possible that PyInstaller simply resolves the symlink without noticing. -- Giovanni Bajo :: [email protected] Develer S.r.l. :: http://www.develer.com My Blog: http://giovanni.bajo.it Last post: Compile-time Function Execution in D -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
