[openssl-users] config no-symlinks option generates an issue on AIX for version 1.0.2f (and 1.0.1r)

REIX, Tony tony.reix at atos.net
Mon Feb 1 18:07:29 UTC 2016


Hi,

I'm trying to build last versions of OpenSSL on AIX 6.1, as RPMs with .spec files.

With versions 1.0.1p and 1.0.2d , on same machine, my .spec file works perfectly.

Now, with versions 1.0.1r and 1.0.2f, my .spec file (changing 1.0.2d to 1.0.2f) breaks as:
make[2]: Entering directory '/home/reixt/OPENSSL/openssl-1.0.2f/crypto/objects'
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -O -DB_ENDIAN -qmaxmem=16384   -c -o obj_dat.o obj_dat.c
"obj_dat.h", line 2435.30: 1506-045 (S) Undeclared identifier NID_dhpublicnumber.

However, on Ubuntu/x86_64, building 1.0.2f works perfectly well.

Experimenting with the options of ./config in OpenSSL directory (without the .spec file) for 1.0.2f, it appears that the no-symlinks option is the root cause:

This works perfectly:
tar zxf openssl-1.0.2f.tar.gz
cd openssl-1.0.2f
export OBJECT_MODE=64
./config \
    --prefix=%{_prefix} \
    --openssldir=%{openssldir64}
make depend
make build_libs
make

Though this breaks as described above when compiling  obj_dat.c :
tar zxf openssl-1.0.2f.tar.gz
cd openssl-1.0.2f
export OBJECT_MODE=64
./config \
    no-symlinks \
    --prefix=%{_prefix} \
    --openssldir=%{openssldir64}
make depend
make build_libs
make


Now, using same commands as above with 1.0.2d version, still with no-symlinks, that works perfectly.


Does anyone have encountered this issue with no-symlink and versions 1.0.1r or 1.0.2f ?

Any idea about the root cause ?

Thanks/Regards,

Cordialement,

Tony Reix

Bull - ATOS
IBM Coop Architect & Technical Leader
Office : +33 (0) 4 76 29 72 67
1 rue de Provence - 38432 Échirolles - France
www.atos.net<https://mail.ad.bull.net/owa/redir.aspx?C=PvphmPvCZkGrAgHVnWGsdMcDKgzl_dEIsM6rX0g4u4v8V81YffzBGkWrtQeAXNovd3ttkJL8JIc.&URL=http%3a%2f%2fwww.atos.net%2f>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160201/abc1b68f/attachment.html>


More information about the openssl-users mailing list