Installing Python problems (_socket.so)

Sam Carleton nospam at miltonstreet.com
Sun Jan 12 19:30:07 CET 2003


I am trying to get Python 2.2.2 installed on a Solaris 8 (SPARC)
machine.  I have OpenSSL 0.9.7 installed successfully on the machine
in questions.  When compiling, this is a snip of the output:

X509_PUBKEY_get                     0x7d8      
/usr/local/ssl/lib/libcrypto.a(x_pubkey.o)
X509_PUBKEY_get                     0x3a8      
/usr/local/ssl/lib/libcrypto.a(x509_req.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
skipping /export/home/sam/src/Python-2.2.2/Modules/socketmodule.c
(build/temp.solaris-2.8-sun4u-2.2/socketmodule.o up-to-date)
gcc -shared build/temp.solaris-2.8-sun4u-2.2/socketmodule.o
-L/usr/local/ssl/lib -L/usr/local/lib -Wl,-R/usr/local/ssl/lib -lssl
-lc
rypto -o build/lib.solaris-2.8-sun4u-2.2/_socket.so
WARNING: building of extension "_socket" failed: command 'gcc' failed
with exit status 1
skipping 'dbm' extension (up-to-date)

There does not seem to be much info here.  Is there any way I can get
more info as to solve the problem?

Sam




More information about the Python-list mailing list