After a Debian distro upgrade from 10 to 11 I ran in to errors while running a rebuild. From the past, I knew I have to install extra packages. I used this command:
DEBIAN_FRONTEND=noninteractive apt install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -fy wget gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libperl4-corelibs-perl libwww-perl libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev cron bzip2 zip automake autoconf libtool cmake pkg-config python libdb-dev libsasl2-dev libncurses5 libncurses5-dev libsystemd-dev bind9 dnsutils quota patch logrotate rsyslog libc6-dev libexpat1-dev libcrypt-openssl-rsa-perl libnuma-dev libnuma1 libhtml-parser-perl libhttp-date-perl libnet-dns-perl libnetaddr-ip-perl libsocket6-perl libsys-hostname-long-perl libwww-perl libio-socket-inet6-perl libmail-spf-perl libsys-syslog-perl libdbi-perl libencode-detect-perl libio-socket-ssl-perl libmail-dkim-perl razor libio-socket-ip-perl libnet-patricia-perl traceroute mlocate whois ncftp
When running ./build all d, I get this error:
/usr/bin/ld: /usr/local/lib_http2/lib/libcrypto.a(dso_dlfcn.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:73: ab] Error 1
make[2]: Leaving directory '/usr/local/directadmin/custombuild/httpd-2.4.59/support'
make[1]: Leaving directory '/usr/local/directadmin/custombuild/httpd-2.4.59/support'
make[1]: *** [/usr/local/directadmin/custombuild/httpd-2.4.59/build/rules.mk:75: all-recursive] Error 1
make: *** [/usr/local/directadmin/custombuild/httpd-2.4.59/build/rules.mk:75: all-recursive] Error 1
*** The make has failed. Exiting...
I used commando's like:
./build clean
./build update
./build update_versions
./build remove_items (none left)
In the past this VPS used an openssl installation from source while php-imaps wouldn't work. I am using now (openssl version -a)
OpenSSL 1.1.1w 11 Sep 2023
built on: Wed Sep 13 19:21:33 2023 UTC
platform: debian-amd64
options: bn(64,64) rc4(8x,int) des(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -
O2 -ffile-prefix-map=/build/reproducible-path/openssl-1.1.1w=. -fstack-protector
-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPE
NSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL
_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCA
K1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256
_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
OPENSSLDIR: "/usr/lib/ssl"
ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-1.1"
Seeding source: os-specific
DirectAdmin is up-to-date: DirectAdmin v.1.662 2b2ab01dea64601bc358a0a129444b190818e5ff
Does anybody have a asolution for me how to fix this?
DEBIAN_FRONTEND=noninteractive apt install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -fy wget gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libperl4-corelibs-perl libwww-perl libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev cron bzip2 zip automake autoconf libtool cmake pkg-config python libdb-dev libsasl2-dev libncurses5 libncurses5-dev libsystemd-dev bind9 dnsutils quota patch logrotate rsyslog libc6-dev libexpat1-dev libcrypt-openssl-rsa-perl libnuma-dev libnuma1 libhtml-parser-perl libhttp-date-perl libnet-dns-perl libnetaddr-ip-perl libsocket6-perl libsys-hostname-long-perl libwww-perl libio-socket-inet6-perl libmail-spf-perl libsys-syslog-perl libdbi-perl libencode-detect-perl libio-socket-ssl-perl libmail-dkim-perl razor libio-socket-ip-perl libnet-patricia-perl traceroute mlocate whois ncftp
When running ./build all d, I get this error:
/usr/bin/ld: /usr/local/lib_http2/lib/libcrypto.a(dso_dlfcn.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:73: ab] Error 1
make[2]: Leaving directory '/usr/local/directadmin/custombuild/httpd-2.4.59/support'
make[1]: Leaving directory '/usr/local/directadmin/custombuild/httpd-2.4.59/support'
make[1]: *** [/usr/local/directadmin/custombuild/httpd-2.4.59/build/rules.mk:75: all-recursive] Error 1
make: *** [/usr/local/directadmin/custombuild/httpd-2.4.59/build/rules.mk:75: all-recursive] Error 1
*** The make has failed. Exiting...
I used commando's like:
./build clean
./build update
./build update_versions
./build remove_items (none left)
In the past this VPS used an openssl installation from source while php-imaps wouldn't work. I am using now (openssl version -a)
OpenSSL 1.1.1w 11 Sep 2023
built on: Wed Sep 13 19:21:33 2023 UTC
platform: debian-amd64
options: bn(64,64) rc4(8x,int) des(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -
O2 -ffile-prefix-map=/build/reproducible-path/openssl-1.1.1w=. -fstack-protector
-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPE
NSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL
_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCA
K1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256
_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
OPENSSLDIR: "/usr/lib/ssl"
ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-1.1"
Seeding source: os-specific
DirectAdmin is up-to-date: DirectAdmin v.1.662 2b2ab01dea64601bc358a0a129444b190818e5ff
Does anybody have a asolution for me how to fix this?