Re: Ubuntu 11.10 SSLv2 error compiling

"Porterfield, Sean" <SPorterfield-rhMrrli3/[email protected]> Mon, 12 Dec 2011 13:39:24 -0500
Newsgroups gmane.comp.emulators.tn5250
Message-ID <[email protected]>
OpenSSL 1.0.0e 6 Sep 2011

For my purposes, I just commented out the section referencing ssl2 in sslstream.c
--
Sean Porterfield
________________________________________
From: Scott Klement

hi Sean,

What version of OpenSSL are you using?  I don't really want to install
Ubuntu just to figure out the solution. :-)

type: openssl version


On 12/12/2011 6:35 AM, Porterfield, Sean wrote:
> I recently installed Ubuntu 11.10 and have an error compiling tn5250.
>
> make[2]: Entering directory `/home/sporter/src/tn5250/lp5250d'
> gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -I../lib5250  -I/usr/include  -g -O2 -MT scs2ascii.o -MD -MP -MF .deps/scs2ascii.Tpo -c -o scs2ascii.o scs2ascii.c
> mv -f .deps/scs2ascii.Tpo .deps/scs2ascii.Po
> /bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2   -o scs2ascii scs2ascii.o ../lib5250/lib5250.la -lssl -lcrypto
> libtool: link: gcc -g -O2 -o .libs/scs2ascii scs2ascii.o  ../lib5250/.libs/lib5250.so -lssl -lcrypto
> ../lib5250/.libs/lib5250.so: undefined reference to `SSLv2_client_method'
> collect2: ld returned 1 exit status
> make[2]: *** [scs2ascii] Error 1
> make[2]: Leaving directory `/home/sporter/src/tn5250/lp5250d'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/sporter/src/tn5250'
> make: *** [all] Error 2
>
> I think OpenSSL no longer includes SSLv2 support.  I also think I may be able to hack it to get it working, but I have no idea the "right way" to fix this.  I suspect something in configure or just removing SSLv2 support completely.
> --
> Sean Porterfield

This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged.  If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited.  Thank you.
-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.