[Vm-dev] Cog 3000, libcrypto, and Altitude

Chris Muller asqueaker at gmail.com
Tue Jun 17 02:42:55 UTC 2014


http://lists.squeakfoundation.org/pipermail/squeak-dev/2013-August/172579.html


On Sun, Jun 15, 2014 at 11:40 AM, Chris Cunnington <brasspen at gmail.com> wrote:
>
>
> I downloaded 3000 versions of coglinux, coglinuxht, cogmtlinuxht to my Ubuntu laptop. [1] I wanted to see if I could use the Altitude web framework without creating a symlink to the libcrypto library [2]. I think the 3000 series looks for libcrypto.so.1.0.0, which I think I have installed. [3]. The coglinux image starts, but I get the standard Module Not Found error. [5]. This is what the symlink solves. The other two VMs, coglinuxht and cogmtlinuxht, don't start. [4]
>
> Cheers,
> Chris
>
>
>
> [1] Ubuntu 12.04 LTS Intel Core i7-3687u CPU @ 2.10 GHzx4
>
> [2]
> chris at ooplu:~/Desktop/Cog/lib/squeak/4.0-2761$ file libcrypto.so
> libcrypto.so: symbolic link to `/usr/lib/i386-linux-gnu/libcrypto.so.0.9.8'
>
> [3]
> chris at ooplu:~/Desktop/Cog/lib/squeak/4.0-2761$ locate libcrypto
> /home/chris/.local/share/Trash/files/libcrypto.so.0.9.8
> /home/chris/.local/share/Trash/info/libcrypto.so.0.9.8.trashinfo
> /lib/i386-linux-gnu/libcrypto.so.0.9.8
> /lib/i386-linux-gnu/libcrypto.so.1.0.0
> /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
> /usr/lib/i386-linux-gnu/libcrypto.so.0.9.8
> /usr/lib/x86_64-linux-gnu/libcrypto.a
> /usr/lib/x86_64-linux-gnu/libcrypto.so
> /usr/lib/x86_64-linux-gnu/pkgconfig/libcrypto.pc
>
>
> [4]
>
> chris at ooplu:~/Desktop/coglinux$ ./squeak '/home/chris/Desktop/squeak.org/Squeak4.4-12327.image' &
> [1] 5932
> chris at ooplu:~/Desktop/coglinux$ cd ../coglinuxht
> [1]+  Done                    ./squeak '/home/chris/Desktop/squeak.org/Squeak4.4-12327.image'  (wd: ~/Desktop/coglinux)
> (wd now: ~/Desktop/coglinuxht)
> chris at ooplu:~/Desktop/coglinuxht$ ./squeak '/home/chris/Desktop/squeak.org/Squeak4.4-12327.image' &
> [1] 5949
> chris at ooplu:~/Desktop/coglinuxht$ pthread_setschedparam failed; consider using ITIMER_HEARTBEAT: Operation not permitted
> ^C
> [1]+  Exit 1                  ./squeak '/home/chris/Desktop/squeak.org/Squeak4.4-12327.image'
> chris at ooplu:~/Desktop/coglinuxht$ cd ../cogmtlinuxht
> chris at ooplu:~/Desktop/cogmtlinuxht$ ./squeak '/home/chris/Desktop/squeak.org/Squeak4.4-12327.image' &
> [1] 5962
> chris at ooplu:~/Desktop/cogmtlinuxht$ warning, processHasThreadId flag is unset; cannot function as a threaded VM if so.
> pthread_setschedparam failed; consider using ITIMER_HEARTBEAT: Operation not permitted
> ^C
> [1]+  Exit 1                  ./squeak '/home/chris/Desktop/squeak.org/Squeak4.4-12327.image'
>
> [5]
>
> Error: External module not found
> 15 June 2014 12:15:47.612 pm
>
> VM: unix - Smalltalk
> Image: Squeak4.4 [latest update: #12327]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir /home/chris/Desktop/squeak.org
> Trusted Dir /home/chris/Desktop/squeak.org/secure
> Untrusted Dir /home/chris/Desktop/squeak.org/My Squeak
>
> XTLibCryptoHash(Object)>>error:
> Receiver: a XTLibCryptoHash
> Arguments and temporary variables:
> aString: 'External module not found'
> Receiver's instance variables:
> library: nil
> context: a XTEVPMDCTX
> algorithm: nil
>
> XTLibCryptoHash(Object)>>externalCallFailed
> Receiver: a XTLibCryptoHash
> Arguments and temporary variables:
> errCode: 15
> Receiver's instance variables:
> library: nil
> context: a XTEVPMDCTX
> algorithm: nil
>
> XTLibCryptoHash>>EVP_MD_CTX_init:
> Receiver: a XTLibCryptoHash
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> library: nil
> context: a XTEVPMDCTX
> algorithm: nil
>
>


More information about the Vm-dev mailing list