Issue with Apache HTTP Server Build: Legacy libcrypt.so.1 Dependency on RHEL 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Team,

 

We are currently bundling the Apache HTTP Server from source on a Linux machine(RHEL 7.x/ RHEL 8.x). During the build process, we are passing a custom OpenSSL path using the --with-ssl configuration flag. However, the final build still includes a dependency on the legacy libcrypt.so.1 library.

 

When we attempt to run the server on a RHEL 10 environment, we encounter the following error:

 

./apachectl start

./httpd: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

 

This issue appears to be caused by the build process linking against the system's legacy libcrypt (from glibc), which is no longer available by default on RHEL 10.

 

 

Can you please suggest how should we proceed next.

 

User Below command:

 

AR=$AR NM=$NM STRIP=$STRIP CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="-I$OPENSSL_ROOT/include" LDFLAGS="-L$OPENSSL_ROOT/lib $LDFLAGS" CONFIG_SHELL="$CONFIG_SHELL" ./configure $CONFIG_PARAMS

 

CFLAGS="-O2 $CFLAGS"

CONFIG_PARAMS="--prefix=$APACHE_ROOT \

--with-expat=$EXPAT_ROOT \

--without-berkeley-db \

--enable-nonportable-atomics=yes \

--enable-exception-hook \

--enable-so \

--enable-mpms-shared=all \

--enable-mods-shared=all \

--enable-http2 \

--enable-proxy-http2 \

--disable-util-dso \

--without-pgsql \

--without-odbc \

--without-libxml2 \

--with-ssl=$OPENSSL_ROOT \

--with-ldap \

--with-ldap-include=$OPENLDAP_ROOT/include \

--with-ldap-lib=$OPENLDAP_ROOT/lib \

--with-pcre=$PCRE_ROOT/bin/pcre2-config \

--with-nghttp2=$NGHTTP2_ROOT \

--with-z"

 

Thanks and Regards,

Rajendra Rathore

9922701491

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux