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.