Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Open SSL installtion on Solaris - 10

13 views
Skip to first unread message

pattabi raman

unread,
Feb 27, 2011, 3:03:59 AM2/27/11
to
Hi,
 
I need to install open ssl in our solaris-10 machine. Currently Solaris has GCC Compiler 2.95.
 
As I checked from the site, mentioned that Openssl needs GCC compiler 3.3.
 
So Open ssl will work only with gcc 3.3 ? Gcc upgrade is necessary ? Will solaris 10 supports gcc 3.3 ????
 
please help.
 
Thanks,
Pattabi
 

Dr. David Kirkby

unread,
Feb 27, 2011, 4:50:59 AM2/27/11
to

Solaris 10 comes with gcc 3.4.3 in /usr/sfw/bin, so I don't know why anyone
would want to install an older version.

-bash-3.00$ uname -a
SunOS kestrel 5.10 Generic_141444-09 sun4u sparc SUNW,UltraAX-i2

-bash-3.00$ /usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with:
/sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Dave

______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org

John R Pierce

unread,
Feb 27, 2011, 5:02:29 AM2/27/11
to
On 02/27/11 12:03 AM, pattabi raman wrote:
> Hi,
> I need to install open ssl in our solaris-10 machine.
> Currently Solaris has GCC Compiler 2.95.
> As I checked from the site, mentioned that Openssl needs GCC compiler
> 3.3.
> So Open ssl will work only with gcc 3.3 ? Gcc upgrade is necessary ?
> Will solaris 10 supports gcc 3.3 ????
>

while I've not attempted to build openssl, most things on solaris seem
to build better with the Sun CC compiler, which is now called Oracle
Studio. This is especially true for Sparc systems.

but, my Sol10 systems appear to already have an openssl in /usr/sfw/bin
(and libraries in /usr/sfw/lib, etc) which is maintained by Oracle

David Kirkby

unread,
Feb 27, 2011, 9:45:37 AM2/27/11
to
On 27 February 2011 10:02, John R Pierce <pie...@hogranch.com> wrote:
> On 02/27/11 12:03 AM, pattabi raman wrote:
>>
>> Hi,
>> I need to install open ssl in our solaris-10 machine. Currently Solaris
>> has GCC Compiler 2.95.
>> As I checked from the site, mentioned that Openssl needs GCC compiler 3.3.
>> So Open ssl will work only with gcc 3.3 ? Gcc upgrade is necessary ? Will
>> solaris 10 supports gcc 3.3 ????
>>
>
> while I've not attempted to build openssl, most things on solaris seem to
> build better with the Sun CC compiler, which is now called Oracle Studio.
>  This is especially true for Sparc systems.

If they are written in C, C++ or Fortran that is so. They will
generally be faster. But if they are written in some GNU variant of
one of these languages, rather than standard conforming code, then you
may have a problem building it with anything other than GNU tools. The
defaults for the GNU compilers allow GNU extensions, so people do not
realise they are not writing C/C++/Fortran. They are in fact writing
in GNU C, GNU C++ or GNU Fortran.

> but, my Sol10 systems appear to already have an openssl in /usr/sfw/bin (and
> libraries in /usr/sfw/lib, etc) which is maintained by Oracle

Yes. It might be quite old though - depends on whether the system has
been patched or not.

Dave

Gaiseric Vandal

unread,
Feb 27, 2011, 11:27:15 AM2/27/11
to
There should be openssl and gnu GCC packages available on sunfreeware.com.
They may not be the most recent but they are likely to be more recent then
the ones bundled with Solaris 10 or the Sun Freeware Tools companion cd.

Sander Temme

unread,
Feb 27, 2011, 12:13:00 PM2/27/11
to

On Feb 27, 2011, at 2:02 AM, John R Pierce wrote:

but, my Sol10 systems appear to already have an openssl in /usr/sfw/bin (and libraries in /usr/sfw/lib, etc) which is maintained by Oracle

Last time I was on a Solaris box, that one seemed to be stuck at 0.9.7.  

S.

-- 
PGP FP: FC5A 6FC6 2E25 2DFD 8007  EE23 9BB8 63B0 F51B B88A

View my availability: http://tungle.me/sctemme

John R Pierce

unread,
Feb 27, 2011, 2:30:45 PM2/27/11
to
On 02/27/11 9:13 AM, Sander Temme wrote:
>
> On Feb 27, 2011, at 2:02 AM, John R Pierce wrote:
>
>> but, my Sol10 systems appear to already have an openssl in
>> /usr/sfw/bin (and libraries in /usr/sfw/lib, etc) which is maintained
>> by Oracle
>
> Last time I was on a Solaris box, that one seemed to be stuck at 0.9.7.

yes, but its back patched against significant exploits. The solaris 10
development box I happened to look at has not had Solaris patches in
about a year (it was taken off support when Oracle screwed with the
pricing and wanted to only offer 'premiere' grade support we didn't want
to pay for), it says...

$ /usr/sfw/bin/openssl version
OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969
CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339
CVE-2006-4343 CVE-2007-5135 CVE-2007-3108 CVE-2008-5077 CVE-2009-0590)

0 new messages