Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
First of all, I would like to say that I am just an intern, and have limited Linux experience.
I am using cx_Freeze 4.3.1 and Python 2.5.6 on RHEL 5. I can successfully freeze my Python code, but when I port it to other Linux systems, I get several errors, probably with the same cause.
When I run my frozen code on my RHEL 4 host, I get the error
./client: error while loading shared libraries: requires glibc 2.5 or later dynamic linker
The first host has glibc 2.5 and the second has 2.3.4. Another host just gives me the error "Floating point exception" and has glibc 2.3.4 as well.
I believe that I can fix this error if I can use my version of glibc, 2.5, on other hosts. Is it possible for me to include this and have it run on other computers? Or is my best bet to compile with the oldest version of glibc and hope it works for all new versions?
I have already tried including the libc.so.6 library in hopes that it would fix my problems, but it didn't. However, I did not really know what I was doing, and only included the file without changing any files to point to it, if that's what I have to do.
Thanks for reading,
On 17 July 2013 14:18, Smith, Mitchell <Mitchell.Smith@...> wrote:
> I believe that I can fix this error if I can use my version of glibc, 2.5,
> on other hosts. Is it possible for me to include this and have it run on
> other computers? Or is my best bet to compile with the oldest version of
> glibc and hope it works for all new versions?
I've heard from at least one other person doing this: freezing on the
oldest version of Linux that they need to support.
I managed to get cx_Freeze working on RHEL 4, with glibc 2.3.4. I also had to remove the collections Python module from my code, because it depended on glibc 2.5 or greater. The code now works on all of my Linux versions.
I still would like to know if it is possible to include important system files such as glibc with the frozen code, though. It seems like that would be useful to know how to do.