Installing Python problems (_socket.so)
Andrew McGregor
andrew at indranet.co.nz
Mon Jan 13 00:02:07 EST 2003
You're trying to link a mixed shared-static library setup and your linker
is messing up. It is possible that the OpenSSL build didn't work right.
The real problem is a few lines earlier in the output; can you send it from
the previous ld or gcc command?
Andrew
--On Sunday, January 12, 2003 10:30:07 -0800 Sam Carleton
<nospam at miltonstreet.com> wrote:
> 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
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
More information about the Python-list
mailing list