Python 2.2.2 on Solaris 2.6 Fails to Build: zlib and crypt

Martin v. Löwis martin at v.loewis.de
Thu Dec 26 18:11:40 EST 2002


googlenews at ols.inorganic.org (Roy S. Rapoport) writes:

> I've searched the faq and the python.org website and did not find
> anything relevant to this issue; the README doesn't say anything about
> this problem either.  Any ideas?

I recommend to build those modules as static modules, by uncommenting
the relevant lines in Modules/Setup (and correcting them as
necessary).

Other alternatives are:
- Build a position-independent (PIC) version of those libraries,
  this is probably no option for crypt;
- pass the -mimpure-text option to gcc
- use GNU binutils instead of the system linker

HTH,
Martin




More information about the Python-list mailing list