PGI Builds of OpenSSL

Hi All

Has anyone had any victories with building/installing OpenSSL with PGI ?

Thanks Much

Hi Bill,

I downloaded openssl-0.9.8g.tar.gz and do as follow for 64-bit:

  1. Add a line in file Configure :“linux-64-pgcc”,“pgcc:-DTERMIO -O2::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK ${no_asm}$(SHLIB_MAJOR).$(SHLIB_MINOR)”,

2)Run: ./Configure linux-64-pgcc --prefix=/home/your_install_dir/openssl

3)Type: make

  1. touch crypto/dsa/dsa_gen.c

  2. Edit Makefile by replacing -O2 with -O0 in CFLAGS because one of the test will fail (dsatest). -O0 avoids the failure.

  3. Type again: make to recompile dsa_gen.c

  4. make test

If you don’t care for dsa, I guess you can ignore the error. I only tried generating rsa key and it works just fine. Hopefully it will work for other things too.