Compiling 64 bit python - using wrong stdlibc++

John Ky johnk at aurema.commercial
Wed Nov 26 04:51:43 CET 2003


I just released that it isn't the linking process that's throwing the
error message.  It's that near the end of the build process, the
build tries to run python and it can't because my
$LD_LIBRARY_PATH is pointing to the 32-bit libraries.

The solution can't be to change this environment variable right?

How do you run 32-bit and 64-bit python side by side?

"John Ky" <johnk at aurema.commercial> wrote in message
news:1069813707.78669 at cousin.sw.oz.au...
> > And it compiles, but fails to link with /usr/local/lib/stdlibc++.so.5
> > because it is the 32-bit version.
>
> The exact error message is:
>
> ld.so.1: ./python: fatal: /usr/local/lib//libstdc++.so.5: wrong ELF class:
> ELFCLASS32
>
> Thanks
>
> -John






More information about the Python-list mailing list