The absolute path to libjpeg.7.dylib is: /Library/Frameworks/Python.framework/Versions/7.2/lib/libjpeg.7.dylib The absolute path to _imaging.so is: /Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/PIL/_imaging.so
On Tuesday, June 19, 2012 10:03:13 AM UTC-7, Martin Z wrote: > > What are the absolute paths to your ./PIL/_imaging.so and to > libjpeg.7.dylib from your python distribution? > > mmiscavage píše v Út 19. 06. 2012 v 08:50 -0700: > > Here is my otool -L output: @rpath/libjpeg.7.dylib (compatibility > > version 8.0.0, current version 8.0.0) /usr/lib/libz.1.dylib > > (compatibility version 1.0.0, current version > > 1.2.3) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current > > version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version > > 1.0.0, current version 111.0.0) > > > > I have added those files specifically to the .spec file's > > a.binaries. > > > > I'm not sure what @rpath is supposed to be or if I can change it to > > something else. Any ideas on that? > > What pyinstaller does is replacing absolute paths by '@lib_path'. In > your case the output from otool for the _imaging.so from dist dir would > look like: > @lib_path/libjpeg.7.dylib > /usr/lib/libz.1.dylib > /usr/lib/libgcc_s.1.dylib > /usr/lib/libSystem.B.dylib > > The issue is where pyinstaller should look for libjpeg.7.dylib. > > I suppose that with the absolute paths you provide we'll able to fix > that. > > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To view this discussion on the web visit https://groups.google.com/d/msg/pyinstaller/-/DaUZ3V6tVL8J. 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.
