[HPADM] Compiling Kermit with SSL

From: Allan.Marillier@dana.com
Date: Thu Aug 21 2003 - 12:31:41 EDT


Has anyone successfully compiled Kermit with SSL (openssl) on HP-UX 11.x?

I have source for kermit 209, and openssl 0.9.6j and 0.9.7b. The kermit
makefile says that it requires 0.9.6.

I can compile kermit with no issues as long as I don't try to link SSL. As
soon as I try to recompile and link with SSL I get errors. OpenSSL
compiled and installed with no issues to /usr/local/ssl which is where
kermit expects to find it. The kermit make errors out attempting to link,
complaining of unsatisfied symbols. The libraries are there, if I do
strings on the libraries I see references to the functions supposedly
unresolved. This happens whether I use HP's ANSI C compiler or gcc

cc -s -o wermit \
        ckcmai.o ckclib.o ckutio.o ckufio.o \
        ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \
        ckcpro.o ckucmd.o ckuus2.o ckuus3.o \
        ckuus4.o ckuus5.o ckuus6.o ckuus7.o \
        ckuusx.o ckuusy.o ckuusr.o ckucns.o \
        ckudia.o ckuscr.o ckcnet.o ckusig.o \
        ckctel.o ckcuni.o ckupty.o ckcftp.o \
        ckuath.o ck_crp.o ck_ssl.o -lm -lcurses -L/usr/local/ssl/lib
-lcrypto -lssl
/usr/ccs/bin/ld: Unsatisfied symbols:
   EVP_rc4 (first referenced in /usr/local/ssl/lib/libssl.a(ssl_algs.o))
(code)
   __eprintf (first referenced in
/usr/local/ssl/lib/libcrypto.a(cryptlib.o)) (code)
   __udivdi3 (first referenced in
/usr/local/ssl/lib/libcrypto.a(b_print.o)) (code)
   COMP_CTX_new (first referenced in
/usr/local/ssl/lib/libssl.a(s3_enc.o)) (code)
....
   HMAC_Update (first referenced in /usr/local/ssl/lib/libssl.a(t1_enc.o))
(code)
   EVP_idea_cbc (first referenced in
/usr/local/ssl/lib/libssl.a(ssl_algs.o)) (code)
make[1]: *** [xermit] Error 1
make[1]: Leaving directory `/var/tmp/AMARILL/kermit'
make: *** [hpux1100o+openssl] Error 2

Any clues will be appreciated and I will summarize. For anyone curious as
to why I would want to recompile kermit - aparently some ftp sites now
requires secure connections using SSL. We need to connect to at least one
like that. Kermit has been suggested as it is no longer "just a term
emulation" but also has scriptable ftp, and scriptable ssh (using an
existing ssh installation).

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:33 EDT