[Vm-dev] SqueakSSL: undefined symbol: SSL_connect, on linux CentOS x64 and latest Cog

Eliot Miranda eliot.miranda at gmail.com
Thu Apr 18 22:28:55 UTC 2013


On Thu, Apr 18, 2013 at 2:56 PM, Frank Shearar <frank.shearar at gmail.com>wrote:

>
> On 18 April 2013 21:40, Igor Stasenko <siguctua at gmail.com> wrote:
> >
> > On 18 April 2013 22:09, Frank Shearar <frank.shearar at gmail.com> wrote:
> >>
> >> On 12 April 2013 12:40, David T. Lewis <lewis at mail.msen.com> wrote:
> >>>
> >>> On Fri, Apr 12, 2013 at 09:31:08AM +0400, Nikolay Suslov wrote:
> >>>>
> >>>> Hello,
> >>>> Trying compiling the latest CogVM on linux CentOS 6.3 x64 with enabled
> >>>> SqueakSSL plugin. Everything is gone ok, I get the vm and the plugin.
> >>>> But the SqueakSSL primitive (create) fails signalling on the terminal:
> >>>> SqueakSSL: undefined symbol: SSL_connect
> >>>>
> >>>> What could be wrong?
> >>>
> >>> It means that the function SSL_connect, which is declared in the ssh.h
> >>> header file at compile time, could not be dynamically loaded at run
> time.
> >>> This might be the case if the necessary library is not installed on
> your
> >>> system, or if you have a 64 bit OS and do not have the 32 bit version
> of
> >>> the library installed (which would be required for Cog).
> >>
> >> Could this also happen if Cog was built with one version of openssl
> >> (say, 1.0.0) but the user only had 0.9.8?
> >>
> > unlikely.. the code which used in pluging did not touched for years..
> > if library API would change, then it would fail to compile in a first
> place
>
> Hm, OK, that's kind've good. I just have an image and VM that _used_
> to work, and don't anymore, but I've not updated the image other than
> making my local changes, and it's a Cog 2714 which has SqueakSSL, and
> I now see SSL_connect errors all the time. These didn't used to
> happen.
>

I build on quite an old linux system cuz that helps with these kinds of
issues.  looks like I'm linking against version 0.9.8:

McStalker.oscogvm$ ssh mcqfes cat /etc/redhat-release
CentOS release 5.3 (Final)
McStalker.oscogvm$ ssh mcqfes uname -a
Linux mcqfes 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686
i386 GNU/Linux
McStalker.oscogvm$ ssh mcqfes strings - /usr/lib/libssl.so | grep OpenSSL
OpenSSLDie
SSLv2 part of OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
SSLv3 part of OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
TLSv1 part of OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
DTLSv1 part of OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
McStalker.oscogvm$
McStalker.oscogvm$ ssh mcqfes /lib/libc.so.6
Warning: No xauth data; using fake authentication data for X11 forwarding.
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-44).
Compiled on a Linux 2.6.9 system on 2009-02-18.
Available extensions:
        The C stubs add-on version 2.1.2.
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        GNU libio by Per Bothner
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        RT using linux kernel aio
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

I'm open to building on something else; it's "only" a VM after all.  But so
far this CentOS 5.3 has not provoked a storm of controversy.  I wish more
libraries would provide the "run me to print my version" feature.



> frank
>
> >> frank
> >>
> >>> Dave
> >>>
> >
> >
> >
> > --
> > Best regards,
> > Igor Stasenko.
>



-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20130418/9c5d527a/attachment-0001.htm


More information about the Vm-dev mailing list