× 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?

This is frustrating.   First of all... the error that it can't find
'libssl.so.2' is because they are using a different (probably newer)
version of OpenSSL from when you linked it last.  Re-compiling it would
fix that problem -- which brings us to the next problem...

[SNIP]
> > /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
[SNIP]

All of the errors below this point are due to this error.   The openssl
include file called kssl.h requires another include file called krb5.h
which it can't find on your system.

This is quite frustrating because we do not directly require kerberos.
Rather, the openssl header file requires it.  That's supposed to be
transparent to TN5250 and other apps.  You don't have to explcitly
code for it in FreeBSD.  Or RedHat 6.  Or RedHat 7.  Or RedHat 8...
why change that in RedHat 9?

(Okay, enough complaining for now...)

I'm not sure what the "proper" fix for this is, but as a quick hack
to get you up and running...

1) edit the file called /path/to/tn5250/src/Makefile.in
2) find the line that starts with "INCLUDES".  On mine it looks like this:
     INCLUDES = -DSYSCONFDIR=\"$(sysconfdir)\"
3) change it to include the directory where the krb5.h file is, like this:
     INCLUDES = -I/usr/kerberos/include -DSYSCONFDIR=\"$(sysconfdir)\"
4) ./configure
5) make
6) shell to root (if not already)
7) make install

I'll have to do some research to find the "correct" fix.  But for now,
that should get you going.  Good luck!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.