Wondering if anyone has successfully built OpenSSL 0.9.8d on AIX using
MIT Kerberos 1.6 ?

As you know KRB5 1.5 and 1.6 build shared libraries only and this seems
to cause problems with the building of OpenSSL.  Everything builds up to
the point it is actually building the openssl binary.  From testing, it
does not seem like it will accept the new KRB5 .so shared library
extensions.  From the make command:

        LDFLAGS="-DOPENSSL_THREADS -qthreaded -DDSO_DLFCN -DHAVE_DLFCN_H
-DKRB5_MIT -q32 -O -DB_ENDIAN -qmaxmem=1638
4 -blibpath:/usr/local/ssl/lib:${LIBPATH:-/usr/lib:/lib}";  ( :;
LIBDEPS="${LIBDEPS:--L.. -lssl -L/usr/local/kerb
eros/lib -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -L.. -lcrypto }";
LDCMD="${LDCMD:-xlc}"; LDFLAGS="${LDFLAGS:--DO
PENSSL_THREADS -qthreaded -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -q32 -O
-DB_ENDIAN -qmaxmem=16384}";  LIBPATH=`for x
 in $LIBDEPS; do if echo $x | grep '^ *-L' > /dev/null 2>&1; then echo
$x | sed -e 's/^ *-L//'; fi; done | uniq`;  L
IBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`;
LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH  ${LDCMD} ${LDFLAGS} -o ${APPN
AME:=openssl} openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o
enc.o passwd.o gendh.o errstr.o  ca.o pkcs7.
o crl2p7.o crl.o  rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o  x509.o
genrsa.o gendsa.o s_server.o s_client.o spe
ed.o  s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o
ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o sm
ime.o rand.o engine.o  ocsp.o prime.o ${LIBDEPS} )
ld: 0706-006 Cannot find or open library file: -l com_err
        ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l k5crypto
        ld:open(): A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 255.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.

If I go into the /usr/local/kerberos/lib directory and link the
.so.<maj>.<min> to a .a extension like libcom_err.  The compile will
continue; but of course the binaries are useless and do not work.  So I
am pretty sure that it is the shared libraries causing the issue.  My
Kerberos installation works fine and has no issues, so I don't believe I
have a problem with the libraries and everything else builds okay in the
OpenSSL structure to include the libssl.so.0.9.8 and the
libcrypto.so.0.9.8.

Any and all help is appreciated.  I know AIX is not all that common and
I try to support and test all new builds; but up until this time we have
had no issues. 

One last note.  This problem occurs with cc and xlc ( IBM XLC++ Compiler
8.0 )and GCC 4.1.1.

Thanks again !
Lamar


Privileged and Confidential.  This e-mail, and any attachments there to, is 
intended only for use by the addressee(s) named herein and may contain 
privileged or confidential information.  If you have received this e-mail in 
error, please notify me immediately by a return e-mail and delete this e-mail.  
You are hereby notified that any dissemination, distribution or copying of this 
e-mail and/or any attachments thereto, is strictly prohibited.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to