Saturday, August 9, 2025

terminal – Trying to to install symas for openldap on an M3 Mac running Arm64 Rocky Linux 9 gives an error

First, we will install the packages onto VM1 with

sudo wget https://repo.symas.com/configs/SOFL/rhel8/sofl.repo -O /etc/yum.repos.d/sofl.repo:

[bill@target ~]$ sudo wget https://repo.symas.com/configs/SOFL/rhel8/sofl.repo -O /etc/yum.repos.d/sofl.repo
--2025-03-26 14:09:26--  https://repo.symas.com/configs/SOFL/rhel8/sofl.repo
Resolving repo.symas.com (repo.symas.com)... 192.241.155.167
Connecting to repo.symas.com (repo.symas.com)|192.241.155.167|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 197
Saving to: ‘sofl.repo.2’

sofl.repo.2                             100%[=============================================================================>]     197  --.-KB/s    in 0s      

2025-03-26 14:09:26 (119 MB/s) - ‘sofl.repo.2’ saved [197/197]

Update the package cache with

sudo dnf check-update
[bill@target ~]$ sudo dnf check-update
Rocky Linux 9 - BaseOS                                                                                                         12 kB/s | 4.1 kB     00:00    
Rocky Linux 9 - AppStream                                                                                                      19 kB/s | 4.5 kB     00:00    
Rocky Linux 9 - Extras                                                                                                         12 kB/s | 2.9 kB     00:00    
Symas OpenLDAP for Linux RPM repository                                                                                        42 kB/s |  35 kB     00:00    

bpftool.aarch64                                                           7.4.0-503.33.1.el9_5                                                       baseos   
kernel.aarch64                                                            5.14.0-503.33.1.el9_5                                                      baseos   
kernel-core.aarch64                                                       5.14.0-503.33.1.el9_5                                                      baseos   
kernel-devel.aarch64                                                      5.14.0-503.33.1.el9_5                                                      appstream
kernel-headers.aarch64                                                    5.14.0-503.33.1.el9_5                                                      appstream
kernel-modules.aarch64                                                    5.14.0-503.33.1.el9_5                                                      baseos   
kernel-modules-core.aarch64                                               5.14.0-503.33.1.el9_5                                                      baseos   
kernel-tools.aarch64                                                      5.14.0-503.33.1.el9_5                                                      baseos   
kernel-tools-libs.aarch64                                                 5.14.0-503.33.1.el9_5                                                      baseos   
libxslt.aarch64                                                           1.1.34-9.el9_5.1                                                           appstream
passt.aarch64                                                             0^20240806.gee36266-7.el9_5                                                appstream
passt-selinux.noarch                                                      0^20240806.gee36266-7.el9_5                                                appstream
python3-perf.aarch64                                                      5.14.0-503.33.1.el9_5                                                      baseos

2. Install LDAP packages

We will make use of the following LDAP packages

  1. openldap
  2. openldap-clients
  3. openldap-servers
  4. nss-pam-ldapd
  5. mod_ldap

[!TIP]

Server commands start with slap

Client commands start with ldap

Then install the packages with

sudo dnf install -y symas-openldap-clients symas-openldap-servers oddjob-mkhomedir

This doesn’t work on mac so left in the dark, the error is

Last metadata expiration check: 0:07:21 ago on Thu 27 Mar 2025 08:27:37 CET.
Error: 
 Problem 1: cannot install the best candidate for the job
  - package symas-openldap-clients-2.4.59-1.el8.x86_64 from sofl does not have a compatible architecture
  - nothing provides libc.so.6(GLIBC_2.14)(64bit) needed by symas-openldap-clients-2.4.59-1.el8.x86_64 from sofl
  - nothing provides symas-openldap(x86-64) = 2.4.59-1.el8 needed by symas-openldap-clients-2.4.59-1.el8.x86_64 from sofl
 Problem 2: cannot install the best candidate for the job
  - package symas-openldap-servers-2.4.59-1.el8.x86_64 from sofl does not have a compatible architecture
  - nothing provides libc.so.6(GLIBC_2.14)(64bit) needed by symas-openldap-servers-2.4.59-1.el8.x86_64 from sofl
  - nothing provides libpthread.so.0(GLIBC_2.2.5)(64bit) needed by symas-openldap-servers-2.4.59-1.el8.x86_64 from sofl
  - nothing provides libpthread.so.0(GLIBC_2.3.2)(64bit) needed by symas-openldap-servers-2.4.59-1.el8.x86_64 from sofl
  - nothing provides libperl.so.5.26()(64bit) needed by symas-openldap-servers-2.4.59-1.el8.x86_64 from sofl
  - nothing provides libpthread.so.0(GLIBC_2.12)(64bit) needed by symas-openldap-servers-2.4.59-1.el8.x86_64 from sofl
  - nothing provides symas-openldap(x86-64) = 2.4.59-1.el8 needed by symas-openldap-servers-2.4.59-1.el8.x86_64 from sofl
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles