Hack it til you fix it...
The errors are for calls to 1.0.2 which do not exist.in 1.1.1
So I installed the 1.0.2 from scratch, in ~/usr and modified the $PATH and added a $LD_LIBRARY_PATH but there was no libcrypto in ~/usr/lib64
hmmm.
I searched for it with the find command and it turns out the Glamorous Toolkit I have laying around in source has a lib/ directory with it.
-rwxr-xr-x 1 wm users 1683021 Jul 10 12:57 libSDL2-2.0.so.0
-rwxr-xr-x 1 wm users 1683021 Jul 10 12:57 libSDL2-2.0.so.0.7.0
lrwxrwxrwx 1 wm users 18 Jul 10 13:00 libcrypto -> libcrypto.so.1.0.0
-rw-r--r-- 1 wm users 4457684 Jul 10 12:46 libcrypto.a
-r-xr-xr-x 1 wm users 2258490 Jul 10 12:57 libcrypto.so.1.0.0
-rwxr-xr-x 1 wm users 51024 Jul 10 12:57 libffi.so.7
-rwxr-xr-x 1 wm users 51024 Jul 10 12:57 libffi.so.7.1.0
-rw-r--r-- 1 wm users 3019447 Jul 10 12:57 libgit2.so.0.25.1
-rw-r--r-- 1 wm users 3019447 Jul 10 12:57 libgit2.so.25
-rwxr-xr-x 1 wm users 256489 Jul 10 12:57 libssh2.so.1
-rwxr-xr-x 1 wm users 256489 Jul 10 12:57 libssh2.so.1.0.1
-rw-r--r-- 1 wm users 756794 Jul 10 12:46 libssl.a
-r-xr-xr-x 1 wm users 521853 Jul 10 12:57 libssl.so.1.0.0
so I copied them to a local ~/usr/lib64 directory, symlinked libcrypto and
the tests that erorred out now work.
I am rerunning the full test suite to make sure those libSDL and libffi and libgit stuff does not blow up anything else.
hth
---- On Fri, 07 Jul 2023 10:35:38 -0400 Ron Teitelbaum ron@usmedrec.com wrote ---
Hello,
Looks like you may need to update OpenSSL on that box to something > 1.0.0.
Hope that helps.
All the best,
Ron Teitelbaum
On Fri, Jul 7, 2023 at 9:45 AM gettimothy via Squeak-dev mailto:squeak-dev@lists.squeakfoundation.org wrote:
Upon closing squeak, I found a bunch of these messages in the xterm from which I had launched squeak:
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(HMAC_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: HMAC_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(HMAC_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: HMAC_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(HMAC_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: HMAC_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(HMAC_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: HMAC_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(HMAC_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: HMAC_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(HMAC_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: HMAC_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(HMAC_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: HMAC_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(HMAC_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: HMAC_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(HMAC_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: HMAC_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
/usr/lib64/libcrypto.so: undefined symbol: EVP_MD_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f0b7c3230d0):
---- On Fri, 07 Jul 2023 09:41:23 -0400 gettimothy via Squeak-dev mailto:squeak-dev@lists.squeakfoundation.org wrote ---
Error: Unable to find function address.
This is in XTLibCryptoHash
EVP_MD_CTX_init: ctx
<cdecl: void 'EVP_MD_CTX_init' (XTEVPMDCTX*) module: 'libcrypto'>
^self externalCallFailed
I am on slackware Linux, and they use /lib64 for the main library.
In my typical "flail about exporting LD_LIBRARY_PATH" style, I exported LD_LIBRARY_PATH to that libcrypto directory...
bash-5.1$ ldd libcrypto.so
linux-vdso.so.1 (0x00007fffb07e1000)
libz.so.1 => /lib64/libz.so.1 (0x00007fed24be6000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fed24be1000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fed24bc0000)
libc.so.6 => /lib64/libc.so.6 (0x00007fed249e1000)
/lib64/ld-linux-x86-64.so.2 (0x00007fed24f19000)
bash-5.1$
I could downgrade to an earlier version, as that work wonderfully, but, hey!, its shiny and new.
Suggestions appreciated.
cordially,
tty
Image
-----
/home/wm/usr/src/smalltalk/WIKITEXTSAXTODBPARSER/shared/Squeak6.1alpha-22666-64bit.image
Squeak6.1alpha
latest update: #22667
Current Change Set: HomeProject
Image format 68533 (64 bit)
Preferred bytecode set: SistaV1
Virtual Machine
---------------
/home/wm/usr/src/smalltalk/WIKITEXTSAXTODBPARSER/bin/squeak
Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-dtl.3185]
Unix built on Jun 2 2022 15:26:05 Compiler: Clang 9.0.0 (tags/RELEASE_900/final)
platform sources revision VM: 202206021410 runner@fv-az125-921:work/opensmalltalk-vm/opensmalltalk-vm Date: Thu Jun 2 16:10:44 2022 CommitHash: c9fd365 Plugins: 202206021410 runner@fv-az125-921:work/opensmalltalk-vm/opensmalltalk-vm
CoInterpreter VMMaker.oscog-dtl.3185 uuid: 0e7f07b8-eed6-4362-b223-86c98594ddb9 Jun 2 2022
StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid: c6fbcb07-2a19-ed4f-8b40-9c119a70882a Jun 2 2022