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

David T. Lewis lewis at mail.msen.com
Sat Apr 13 17:48:23 UTC 2013


On Sat, Apr 13, 2013 at 04:22:49PM +0400, Nikolay Suslov wrote:
>  
> David, Igor thanks for your answers,
> 
> Yes, it seems to be, that wrong library is dynamically loaded at run time.
> But, I have both openssl.x86_64 and openssl.i686 installed on the system.
> May be someone have an experience on using SqueakSSL plugin on Linux 64 bit
> platform? or is there any way to specify the right system library used by
> external plugin at run time?
> 
> Thanks,
> Nikolay
> 

I do not know the answer to this, but I would expect the system to find
the right library automatically. Perhaps there is some problem with the
way your openssl is installed. FWIW, this is what I find on my SuSE Linux
box:

-r-xr-xr-x 1 root root  355560 2012-01-11 12:04 /lib/libssl.so.1.0.0
-rwxr-xr-x 1 root root  248996 2011-12-20 16:15 /usr/lib/libssl3.so
-r-xr-xr-x 1 root root  319864 2010-12-09 06:17 /usr/lib/libssl.so.0.9.8
-r-xr-xr-x 1 root root  377504 2012-01-11 12:10 /lib64/libssl.so.1.0.0
-rwxr-xr-x 1 root root  254808 2011-12-20 15:58 /usr/lib64/libssl3.so
-rw-r--r-- 1 root root 3652164 2012-01-11 12:10 /usr/lib64/libssl.a
lrwxrwxrwx 1 root root      22 2012-08-06 20:40 /usr/lib64/libssl.so -> /lib64/libssl.so.1.0.0

But I should say that I have not actually tested the plugin myself, so
I can't say if this works with a 32-bit VM.

Dave


> 
> 
> 
> 
> On Fri, Apr 12, 2013 at 3:40 PM, 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).
> >
> > Dave
> >
> >



More information about the Vm-dev mailing list