Hi Martin, thank you for the quick answer. Il giorno 02/dic/2011, alle ore 23.17, Martin Zibricky ha scritto:
> Antonio Valentino píše v Pá 02. 12. 2011 v 13:42 -0800: >> It seems that the /libogdi.dylib library is not collected. >> In the past (when still otool was used) i was able to package the the >> same application with the same spec file so this seems to me a >> regression in pyinstaller. >> >> Any hint on how to solve the problem? > > Could you try create your app without the previous .spec file just > with ./pyinstaller.py script and its options? > Unfortunately the application requires additional resources to work so I need a spec file. Anyway I tried the command line you suggested and I verified that the libogdi is still missing. > To make sure it is caused only by old .spec. > > Anyway, what library do I need to install to be able to reproduce this > error? Is it only about doing 'import somebroken_module'? > The application I'm trying to package is GDSView http://sourceforge.net/projects/gsdview/ you should get the svn version and use the pkg/Makefile tho create the bundle $ make env (only once) $ make onedir Requirements are * pyqt4 (API v.2) * numpy * gdal (www.gdal.org) see http://gsdview.sourceforge.net/#requirements for more details. Anyway the real problem seems to be in gathering shared libraries associated to GDAL. A minimal test program to reproduce the issue is the following: """ #!/usr/bin/env python from osgeo import gdal if __name__ == '__main__': print(gdal.__version__) """ in this case you only need to install the GDAL package: http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete-1.8.dmg best regards -- Antonio Valentino -- 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.
