Apache build errors

kokolorum

New member
Joined
Sep 26, 2021
Messages
6
Updated Debian from 10 to 11

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

cd /usr/local/directadmin/custombuild
./build apache
...
...
/usr/local/directadmin/custombuild/httpd-2.4.48/srclib/apr/libtool --silent --mode=link gcc -pthread -I/usr/local/include -L/usr/local/lib -o htdigest htdigest.lo -lz -lsystemd /usr/local/directadmin/custombuild/httpd-2.4.48/srclib/apr-util/libaprutil-1.la -lexpat -liconv /usr/local/directadmin/custombuild/httpd-2.4.48/srclib/apr/libapr-1.la -lrt -lcrypt -lpthread -ldl
gcc: error: /usr/local/directadmin/custombuild/httpd-2.4.48/srclib/apr-util/.libs/libaprutil-1.so: No such file or directory
gcc: error: /usr/local/directadmin/custombuild/httpd-2.4.48/srclib/apr/.libs/libapr-1.so: No such file or directory
make[2]: *** [Makefile:48: htpasswd] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc: error: /usr/local/directadmin/custombuild/httpd-2.4.48/srclib/apr-util/.libs/libaprutil-1.so: No such file or directory
gcc: error: /usr/local/directadmin/custombuild/httpd-2.4.48/srclib/apr/.libs/libapr-1.so: No such file or directory
make[2]: *** [Makefile:52: htdigest] Error 1
make[2]: Leaving directory '/usr/local/directadmin/custombuild/httpd-2.4.48/support'
make[1]: *** [/usr/local/directadmin/custombuild/httpd-2.4.48/build/rules.mk:75: all-recursive] Error 1
make[1]: Leaving directory '/usr/local/directadmin/custombuild/httpd-2.4.48/support'
make: *** [/usr/local/directadmin/custombuild/httpd-2.4.48/build/rules.mk:75: all-recursive] Error 1

# file /usr/local/directadmin/custombuild/httpd-2.4.48/srclib/apr-util/.libs/libaprutil-1.so
/usr/local/directadmin/custombuild/httpd-2.4.48/srclib/apr-util/.libs/libaprutil-1.so: broken symbolic link to libaprutil-1.so.0.6.1

# file /usr/local/directadmin/custombuild/httpd-2.4.48/srclib/apr/.libs/libapr-1.so
/usr/local/directadmin/custombuild/httpd-2.4.48/srclib/apr/.libs/libapr-1.so: broken symbolic link to libapr-1.so.0.7.0


Any solution?
 

kokolorum

New member
Joined
Sep 26, 2021
Messages
6
Problem solved. It was my fault: exported alias/variable LD in new debian is prohibited for LD library.
 
Top