Hi

I installed a "local" copy of the latest OpenSSL  from https://www.openssl.org/source/

ioFindExternalFunctionIn(HMAC_CTX_init, 0x7f2ca33c37d0):
  /home/wm/usr/lib/lib64/libcrypto.so: undefined symbol: HMAC_CTX_init
ioFindExternalFunctionIn(EVP_MD_CTX_init, 0x7f2ca33c37d0):
bash-5.1$ echo $LD_LIBRARY_PATH
/home/wm/usr/lib/lib64
bash-5.1$ ldd /home/wm/usr/lib/lib64/libcrypto.so
        linux-vdso.so.1 (0x00007ffe54bf7000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fe4bba3f000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe4bba1e000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fe4bb83f000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe4bbf9e000)



I do not know who to proceed...


I have a concern on the install though..

I configured with:

./Configure --prefix=/home/wm/usr/lib --openssldir=/home/wm/usr/lib/ssl

Do I need a C_INCLUDE_PATH or something similar for my local install of the header files?

/home/wm/usr/lib/include/   contains the new include files.

thx in advance.





---- 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 <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 <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