Apache 2.4.23 undefined reference to CRYPTO_malloc_init?
Apache 2.4.23 undefined reference to CRYPTO_malloc_init?
OpenSSL 1.0.2 and earlier provided CRYPTO_malloc_init
:
openssl-1.0.2h$ grep -R CRYPTO_malloc_init *
apps/apps.h: do { do_pipe_sig(); CRYPTO_malloc_init(); \
apps/apps.h: do { do_pipe_sig(); CRYPTO_malloc_init(); \
crypto/crypto.h:# define CRYPTO_malloc_init() CRYPTO_set_mem_functions(\
crypto/dh/dhtest.c: CRYPTO_malloc_init();
crypto/ecdh/ecdhtest.c: CRYPTO_malloc_init();
...
OpenSSL 1.1.0 and later do not appear to provide CRYPTO_malloc_init
:
openssl-1.1.0b$ grep -R CRYPTO_malloc_init *
openssl-1.1.0b$
Also see Apache Issue 60061 - OpenSSL 1.1.0 support.
Does ActiveMQ-CPP 3.9.4 Support OpenSSL 1.1.0?
The client doesn't support OpenSSL 1.1.0 as reported on the ActiveMQ mailing lists. I don't think anyone bothered to open an issue to that effect though.
Unknown binaryTarget debian-openssl-3.0.x and no custom binaries were provided error Command failed with exit code 1
You need to upgrade your prisma version to atleast 3.13.0
. Prisma has added support for OpenSSL 3.0 from version 3.13.0
, Ubuntu 22.04 is using OpenSSL 3.0 by default which is causing this issue for you.
Related GitHub Issue: Support OpenSSL 3.0
Apache 2.4.1 undefined reference to `SSLv2_client_method'
You may have built openssl with SSLv2 disabled, some distributions have that disabled (Debian, starting from 7.0 -Wheezy- is one). Looking at the source, it looks like if you define the OPENSSL_NO_SSL2 preprocessor flag, apache won't call the SSLv2_client_method() function.
not found for architecture x86_64, macOS Sierra
For your case, edit or change files is not necessary.
$ cd /etc/ServerWeb/httpd
$ sudo ./configure --prefix=/usr/local/ServerWeb/httpd --enable-deflate --enable-so --enable-expires --enable-headers --enable-rewrite --with-apr=/etc/ServerWeb/httpd/srclib/apr --with-apr-util=/etc/ServerWeb/httpd/srclib/apr-util -with-pcre=/etc/pcre --with-z=/usr/include/zlib --enable-ssl --with-ssl=/etc/openssl
$
to change compiler you must use the flag CC
Example for your case:
$ sudo CC=clang ./configure --prefix=/usr/local/ServerWeb/httpd --enable-deflate --enable-so --enable-expires --enable-headers --enable-rewrite --with-apr=/etc/ServerWeb/httpd/srclib/apr --with-apr-util=/etc/ServerWeb/httpd/srclib/apr-util -with-pcre=/etc/pcre --with-z=/usr/include/zlib --enable-ssl --with-ssl=/etc/openssl
$
or CC=gcc
, according the solution find it, you must no use spaces assigning the value flag.
Related Topics
Count The Occurrence of a String in an Input File
Insufficient Permission Pushing to Git Shared Repo Over Smart Http
Remote Linux Server to Remote Linux Server Large Sparse Files Copy - How To
Goroutine in Io Wait State for Long Time
To What Extent Can One Rely on Writing to Disk When Sigterm Is Given
Trouble with Installing Nloptr by Locally on Ubuntu
How to Run .Exe Executable File from Linux Command Line
Sed to Loop Through File and Replace Placeholder Variables
Aborting a Blocking Read on Linux
Svn Setup of Existing Directory
Cups Linux: Help Printing These Media Types: Ms Excel, Ms Word and HTML
Docker Container Started in Detached Mode Stopped After Process Execution
Does Chrome 12 Really Support CSS 3D Transforms? Including on Linux
Return Values from Bash Script