Almalinux 9 installation problems

Dijkstra

Verified User
Joined
May 26, 2008
Messages
12
Hello,

On Almalinux9 it looks like there is a problem at the mirrors at the moment for MySQL:
Downloading mysql/mysql-community-common-8.0.29-1.el9.x86_64.rpm...

curl: (22) The requested URL returned error: 404

at every mirror.

Moving to MariaDB 10.6 fails also:
Job for mariadb.service failed because the control process exited with error code.


See "systemctl status mariadb.service" and "journalctl -xeu mariadb.service" for details.


/usr/bin/mysql: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory


/usr/bin/mysql: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory


Did run the pre-install commands for EL8, Almalinux 9 is at the list of supported OS-es. openssl-devel is installed.
 
Does the license include support? If yes, I'd suggest creating a ticket for free installation service. If not - may I PM you regarding it?
 
MySQL / MariaDB is still a problem, but tried to install components with the custombuild ./build tool.

Some applications compile fine, like Dovecot,

But exim fails. It looks like that EL9 missing some essential packages for DirectAdmin after installing.
/usr/bin/ld: auths/auths.a(plaintext.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE


/usr/bin/ld: auths/auths.a(spa.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE


/usr/bin/ld: auths/auths.a(xtextdecode.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE


/usr/bin/ld: auths/auths.a(xtextencode.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE


/usr/bin/ld: auths/auths.a(auth-spa.o): relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE


/usr/bin/ld: auths/auths.a(check_serv_cond.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE


/usr/bin/ld: pdkim/pdkim.a(pdkim.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE


/usr/bin/ld: pdkim/pdkim.a(signing.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE


collect2: error: ld returned 1 exit status


make[1]: *** [Makefile:629: exim] Error 1


make[1]: Leaving directory '/usr/local/directadmin/custombuild/exim-4.96/build-Linux-x86_64'


make: *** [Makefile:36: all] Error 2
 
MySQL / MariaDB is still a problem, but tried to install components with the custombuild ./build tool.

Some applications compile fine, like Dovecot,

But exim fails. It looks like that EL9 missing some essential packages for DirectAdmin after installing.
Exim has been fixed in CB 2.0 rev. 2867. Thank you for the report!
 
Thanks! How long will take it before it rolls out to every mirror?

./build update
./build exim

still exits in the same error for now.

Can I DM you the root login to see why Mariadb and MySQL fails?6BFEF88B-D005-4C65-A4AF-E999BDA5471E.png
 
MariaDB install was successfull after installing compat-openssl11

But it’s a prayer without end, because PHP fails also.

First thing that goes wrong:

./build php d
Cannot find libpng, installing using yum...
Cannot find freetype, installing using yum...
Cannot find libwebp, installing using yum...
Cannot find libjpeg, installing using yum...
Cannot find libxslt, installing using yum...
Cannot find libzip, installing using yum...
Cannot find /usr/include/sqlite3.h, installing using yum...
Last metadata expiration check: 1:25:57 ago on Sat Jul 2 17:55:21 2022.
No match for argument: libzip-devel
Error: Unable to find a match: libzip-devel
Found /usr/local/directadmin/custombuild/php-8.1.7.tar.gz

And then:
Configuring extensions
checking for io.h... no
checking for strtoll... yes
checking for atoll... yes
checking whether to build with LIBXML support... yes
checking for libxml-2.0 >= 2.9.0... no
configure: error: Package requirements (libxml-2.0 >= 2.9.0) were not met:

Package 'libxml-2.0', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBXML_CFLAGS
and LIBXML_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

*** There was an error while trying to configure php. Check the configure file

Fails on : libxml2, sqlite3, libpng, libwebp and going…
 
Last edited:
dnf install libzip-devel --enablerepo=crb should do the trick
 
Back
Top