S
Skip Montanaro
I'm trying to build the released version of Python 2.3 on Solaris 8 for the
first time.
It has problems when building _ssl.so. The command generated
is
gcc -shared build/temp.solaris-2.8-sun4u-2.3/_ssl.o \
-L/usr/local/ssl/lib -L/usr/local/lib -lssl -lcrypto \
-o build/lib.solaris-2.8-sun4u-2.3/_ssl.so
It generates an enormous table which begins with:
Text relocation remains referenced
against symbol offset in file
<unknown> 0x4 /usr/local/ssl/lib/libssl.a(ssl_ciph.o)
<unknown> 0x2c /usr/local/ssl/lib/libssl.a(ssl_ciph.o)
<unknown> 0x54 /usr/local/ssl/lib/libssl.a(ssl_ciph.o)
<unknown> 0x7c /usr/local/ssl/lib/libssl.a(ssl_ciph.o)
<unknown> 0xa4 /usr/local/ssl/lib/libssl.a(ssl_ciph.o)
...
That goes on and on and on (it must print several hundred lines), finally
finishing up with
...
v2i_GENERAL_NAME 0xa1c /usr/local/ssl/lib/libcrypto.a(v3_alt.o)
v2i_GENERAL_NAME 0x15c /usr/local/ssl/lib/libcrypto.a(v3_crld.o)
v2i_GENERAL_NAME 0x2e8 /usr/local/ssl/lib/libcrypto.a(v3_info.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
Is distutils missing some libraries or have I hosed the OpenSSL installation
somehow? 2.3b2 installed fine back in early July (including _ssl.so),
though the OpenSSL install has been updated since then (end of July).
Googling for "python solaris ssl" and checking the top-level
README for "ssl" didn't turn up anything promising.
Thanks,
Skip
first time.
It has problems when building _ssl.so. The command generated
is
gcc -shared build/temp.solaris-2.8-sun4u-2.3/_ssl.o \
-L/usr/local/ssl/lib -L/usr/local/lib -lssl -lcrypto \
-o build/lib.solaris-2.8-sun4u-2.3/_ssl.so
It generates an enormous table which begins with:
Text relocation remains referenced
against symbol offset in file
<unknown> 0x4 /usr/local/ssl/lib/libssl.a(ssl_ciph.o)
<unknown> 0x2c /usr/local/ssl/lib/libssl.a(ssl_ciph.o)
<unknown> 0x54 /usr/local/ssl/lib/libssl.a(ssl_ciph.o)
<unknown> 0x7c /usr/local/ssl/lib/libssl.a(ssl_ciph.o)
<unknown> 0xa4 /usr/local/ssl/lib/libssl.a(ssl_ciph.o)
...
That goes on and on and on (it must print several hundred lines), finally
finishing up with
...
v2i_GENERAL_NAME 0xa1c /usr/local/ssl/lib/libcrypto.a(v3_alt.o)
v2i_GENERAL_NAME 0x15c /usr/local/ssl/lib/libcrypto.a(v3_crld.o)
v2i_GENERAL_NAME 0x2e8 /usr/local/ssl/lib/libcrypto.a(v3_info.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
Is distutils missing some libraries or have I hosed the OpenSSL installation
somehow? 2.3b2 installed fine back in early July (including _ssl.so),
though the OpenSSL install has been updated since then (end of July).
Googling for "python solaris ssl" and checking the top-level
README for "ssl" didn't turn up anything promising.
Thanks,
Skip