× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



After my upgrade to RH 9, the tn5250 bails out with an error that says it can't find "libssl.so.2". Is there any I can get the program to work with the new version of openssl? I'm a bit of a newbie at this so please forgive my ignorance. I've tried to compile from source and get the following results from the configure and Make:

./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for dialog... /usr/bin/dialog
checking for initscr in -lncurses... yes
checking for ncurses.h... yes
checking for termcap.h... yes
checking for attr_t in curses... yes
checking for UCHAR in sys/types.h... no
checking for main in -lsocket... no
checking for main in -lnsl... yes
checking for CRYPTO_num_locks in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for ANSI C header files... yes
checking for sys/ioctl.h... yes
checking for sys/filio.h... no
checking for sys/time.h... yes
checking for unistd.h... yes
checking for slang/slang.h... yes
checking for slang.h... no
checking for locale.h... yes
checking for netinet/in.h... yes
checking for sys/wait.h... yes
checking for fcntl.h... yes
checking for syslog.h... yes
checking for pwd.h... yes
checking return type of signal handlers... void
checking for working memcmp... yes
checking return type of signal handlers... (cached) void
checking for setlocale... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for resizeterm... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for OS specific directory... linux
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tn5250.spec
config.status: creating doc/Makefile
config.status: creating linux/Makefile
config.status: creating freebsd/Makefile
config.status: creating win32/Makefile
config.status: creating sun/Makefile
config.status: creating tn5250-config
config.status: creating xt5250
config.status: creating src/tn5250-config.h
config.status: src/tn5250-config.h is unchanged

Making all in src
make[1]: Entering directory `/root/tn5250-0.16.5/src'
make  all-am
make[2]: Entering directory `/root/tn5250-0.16.5/src'
source='buffer.c' object='buffer.lo' libtool=yes \
depfile='.deps/buffer.Plo' tmpdepfile='.deps/buffer.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. 
-DSYSCONFDIR=\"/usr/local/etc\"    -g -O2 -c -o buffer.lo `test -f buffer.c || 
echo './'`buffer.c
rm -f .libs/buffer.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/usr/local/etc\" -g -O2 -c 
buffer.c -MT buffer.lo -MD -MP -MF .deps/buffer.TPlo  -fPIC -DPIC -o .libs/buffer.lo
In file included from /usr/include/openssl/ssl.h:179,
                 from stream.h:30,
                 from tn5250-private.h:75,
                 from buffer.c:22:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
                 from stream.h:30,
                 from tn5250-private.h:75,
                 from buffer.c:22:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from stream.h:30,
                 from tn5250-private.h:75,
                 from buffer.c:22:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[2]: *** [buffer.lo] Error 1
make[2]: Leaving directory `/root/tn5250-0.16.5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/tn5250-0.16.5/src'
make: *** [all-recursive] Error 1

Can someone please give me a hand? I've got little to no experience with Makefiles or editing source.


Trent Hunt
Level 2 Technical Support
Monarch Cablesystems Ltd.
http://www.monarch.net


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.