I just notice that I'm having a similar problem with python 2.4.2 and
the generated Makefile. I'm going to try to trace this a little bit
during the weekend.

-W

On Thu, 2006-04-06 at 23:07 +0200, no_carrier wrote:
> This is my first use of pyinstaller.
> I have made a kind of helloworld python script.
> I am trying to make an installer to run it into another computer. The 
> other computer is always Linux however different distro and has a python 
> 2.2.3 . I have python 2.3.4 in the source computer.
> 
> With the default generated specfiles (both onedir and onefile) the 
> packaged helloworld on the destination computer complains that the 
> library libpython2.3.so.1.0 is missing (note that during installation of 
> pyinstaller the make would fail. I had to change it to point the correct 
> location of libpython2.3.so.1.0 on the source computer. I don't know if 
> this is meaningful to you gurus.) Of course it works if run on the 
> source computer.
> 
> I have modified the onedir (I started with that: easier to understand) 
> specfile so that the final COLLECT also collects libpython2.3.so.1.0 
> like this:
> 
> coll = COLLECT( exe,
>                a.binaries,
>                [('libpython2.3.so.1.0', '/usr/lib/libpython2.3.so.1.0', 
> 'BINARY')],  #<----------THIS LINE
>                strip=False,
>                upx=False,
>                name='disttry1')
> 
> Now the libpython2.3.so.1.0 is in facts included in the dir to be 
> distributed.
> But this doesn't work on the same: launching "try1" (my script, now exe) 
> cannot find the shared object file.
> I tried changing the LD_LIBRARY_PATH so to include the current dir, but 
> again it doesn't work, this time it says:
> 
> [EMAIL PROTECTED] pyinsttries]$ try1
> try1: relocation error: /home/me/pyinsttries/libc.so.6: symbol 
> _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld-linux.so.2 
> with link time reference
> 
> In addition, after changing LD_LIBRARY_PATH no command works anymore, 
> e.g. ls fails with similar message.
> 
> How should I do? Please advice
> Thanks
> 
> _______________________________________________
> PyInstaller mailing list
> [email protected]
> http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to