473,396 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

_ssl.so build problems on Solaris 8 for 2.3


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

Jul 18 '05 #1
2 2581
Skip Montanaro <sk**@pobox.com> writes:
Is distutils missing some libraries or have I hosed the OpenSSL installation
somehow?


The latter. You must make sure that the library you link with is
position-independent, or else you must build _ssl as a builtin module
(i.e. through Modules/Setup, as non-shared).

Regards,
Martin
Jul 18 '05 #2

Martin> Skip Montanaro <sk**@pobox.com> writes:
Is distutils missing some libraries or have I hosed the OpenSSL
installation somehow?


Martin> The latter. You must make sure that the library you link with is
Martin> position-independent, or else you must build _ssl as a builtin
Martin> module (i.e. through Modules/Setup, as non-shared).

Thanks Martin. That took care of it...

Skip

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tony Muler | last post by:
Dear all, downloaded PHP 4.3.2 for installation on Sun Solaris 7, using gcc and GNU's make 3.8 and alternatively the make that comes with Solaris (/usr/ccs/bin/make). ../configure \...
0
by: Paul (Jimbo) Duncan G7KES | last post by:
Hi, I'm having problems building PHP 4.3.4 on a (patched) Solaris 9 system (Sunblade 150). We're using the version of Apache that came with Solaris 9, I've installed gcc 3.3.2 (from...
0
by: Rob Boyd | last post by:
Hi, I am having problems building Python 2.3.3 on Solaris 9, on a SunFire SPARC. I am using gcc 3.3.2, and apparently don't have binutils (but have ld, as, ar, and the like). I have set...
5
by: Fuzzyman | last post by:
I've written a Tkinter application and am bundling it using py2exe 0.5 Because of the inclusion of Tk/TCL the final package is rather large........ but why on earth in an anagram finder is...
0
by: matt okeson-harlow | last post by:
i am getting errors trying to build MySQLdb on solaris 8, i have tried changing the libs, no joy, anyone have any ideas? Python 2.3.4 gcc -v Reading specs from...
2
by: peter.havens | last post by:
Hi all, I'm attempting to build Python 2.4.1 on Solaris 10 using gcc 3.4.3. I get the following build error: <snip> gcc -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes...
11
by: uid09012_ti | last post by:
Hi, i get the following error message when i use py2exe on my application: The following modules appear to be missing I've installed PyXML-0.8.4.win32-py2.4.exe. My version of python is...
1
by: Holger Joukl | last post by:
Hi, I encountered some build issues when compiling Python 2.4.4 on a Solaris 8 box using gcc 3.4.4: 1. Running configure detects that a C++-built main needs C++-linking. Therefore, Python gets...
8
by: Laszlo Nagy | last post by:
Hello, I wrote a small program that uses xmlrpc over https. It should work as a win32 application and as a win32 service too. There is a file called Processor.py that contains the main thread of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.