Hi Todd, Thanks for the information. I've looked at compiling. I'm assuming this is the file you're referring to? /usr/local/src/openssl-1.1.1m/configdata.pm
What am I looking for in that file? There is no mention of malloc? Do I alter this file before running make clean make make install Thanks, Chris On Wed, 30 Mar 2022 at 16:32, Todd Short <todd.sh...@me.com> wrote: > Each OS distribution may choose to enable/disable features as they see > fit. And they may also patch the code. > > It's likely RHEL disabled the functionality. > > You would need to download the RPM source, build it, and see what is > enabled (via configdata.pm) and what patches may have been applied. > > -- > -Todd Short > // todd.sh...@me.com > // “One if by land, two if by sea, three if by the Internet." > > On Mar 30, 2022, at 4:45 AM, Chris <sadfe523...@gmail.com> wrote: > > Hi All, > > > Experienced an issue with Kamailio which presented with the below error > tls_pre_init(): Unable to set the memory allocation functions > > > I have two servers CentOS8 and RHEL8. CentOS8 runs as expected, RHEL8 > shows the errors > > > This forum suggested this was related to an OpenSSL issue > https://lists.kamailio.org/pipermail/sr-users/2013-August/079381.html > <https://urldefense.com/v3/__https://lists.kamailio.org/pipermail/sr-users/2013-August/079381.html__;!!GjvTz_vk!AfL-J9AyplACFBlZMGroviNViIr_q6cV1xsicFVnuZ6r6VYVHs6K5HmWKLb-$> > > > The below script was compiled and run as suggested in order confirm the > OpenSSL was present > #include <stdio.h> > #include <openssl/ssl.h> > > > static void *myMalloc( size_t s ) { return NULL; } > static void *myRealloc( void *p, size_t s ) { return NULL; } > static void myFree( void *p ) {} > > > int main() > { > if ( !CRYPTO_set_mem_functions( myMalloc, myRealloc, myFree) ) > { > fprintf( stderr, "Unable to set the memory allocation functions\n"); > return -1; > } > > > return 0; > } > > > The output on each system was different > CentOS – nothing outputted > RHEL – “Unable to set the memory allocation functions” > > > Though versions of OpenSSL installed appeared the same > yum info openssl-libs openssl | grep 'Packages\|Name\|Version' > > > CentOS: > Installed Packages > Name : openssl > Version : 1.1.1k > Name : openssl-libs > Version : 1.1.1k > > > > > RHEL: > Installed Packages > Name : openssl > Version : 1.1.1k > Name : openssl-libs > Version : 1.1.1k > > > > > strings /usr/lib64/libcrypto.so | grep "^OpenSSL" > Both systems have the same output > > > > > Would someone be able to confirm what is going on here? > Does the above script suggest a problem with the OpenSSL-Libs? > Am I looking in the right places to confirm a difference between the two > VMs? > > > > > Thanks, > Chris > > >