[ python-Bugs-1471934 ] Python libcrypt build problem on Solaris 8

SourceForge.net noreply at sourceforge.net
Mon Apr 17 22:02:09 CEST 2006


Bugs item #1471934, was opened at 2006-04-17 20:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1471934&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Paul Eggert (eggert)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python libcrypt build problem on Solaris 8

Initial Comment:
Python 2.5a1 and Python 2.4.3 both build incorrectly on
Solaris 8 when compiled in 64-bit mode, using Sun
Studio 11 cc.  Here is the diagnostic:

cc -O -xarch=v9 -G
build/temp.solaris-2.8-sun4u-2.5/cryptmodule.o
-L/u/cs/fac/eggert/seasnet/prefix/lib -lcrypt -o
build/lib.solaris-2.8-sun4u-2.5/crypt.so
ld: fatal: library -lcrypt: not found
ld: fatal: File processing errors. No output written to
build/lib.solaris-2.8-sun4u-2.5/crypt.so

The problem is that setup.py looks at 32-bit libraries
when trying to decide whether a 64-bit build will work.
 Using LIBS=' -lcrypt_i' does not work around the
problem, since the LIBS setting is not exported to the
module build.  I'll attach a proposed patch to the
README file to warn about the problem.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1471934&group_id=5470


More information about the Python-bugs-list mailing list