Open Source Development

 View Only

 openldap-2.5.16-1.ppc creates broken link

  • AIX Open Source
Wojciech Wawrzyczek's profile image
Wojciech Wawrzyczek posted Mon December 16, 2024 11:35 AM

Hello

It seems openldap-2.5.16-1.ppc creates a broken link during installation.

rpm -qi openldap-2.5.16-1.ppc
Name        : openldap
Version     : 2.5.16
Release     : 1
Architecture: ppc
Install Date: Thu Feb 22 15:25:16 EET 2024
Group       : System Environment/Daemons
Size        : 12462372
License     : OpenLDAP
Signature   : (none)
Source RPM  : openldap-2.5.16-1.src.rpm
Build Date  : Thu Aug 17 13:41:50 EEST 2023
Build Host  : pokndd5.pok.stglabs.ibm.com
Packager    : IBM AIX Toolbox  <https://ibm.biz/AIXToolbox>
URL         : https://www.openldap.org/
Bug URL     : https://ibm.biz/aixoss_forum
Summary     : The configuration files, libraries, and documentation for OpenLDAP

rpm -ql openldap-2.5.16-1.ppc |egrep "slapmodify$|slapd$" | while read i ; do ls -lt $i ; done
lrwxrwxrwx    1 root     system            8 Feb 22 2024  /opt/freeware/sbin/slapd -> slapd_64
lrwxrwxrwx    1 root     system           12 Feb 22 2024  /opt/freeware/sbin/slapmodify -> ../lib/slapd  <<<--- wrong link
find /opt/freeware/ \( -type l -o -type f \) \( -name "*slapmodify" -o -name "*slapd_[0-9]*" -o -name "slapd" \) -ls
172509    1 lrwxrwxrwx  1 root      system           8 Feb 22  2024 /opt/freeware/sbin/slapd -> slapd_64
172511 2228 -rwxr-xr-x  1 root      system     2280487 Aug 17  2023 /opt/freeware/sbin/slapd_32
172512 2351 -rwxr-xr-x  1 root      system     2407345 Aug 17  2023 /opt/freeware/sbin/slapd_64
172535    1 lrwxrwxrwx  1 root      system          12 Feb 22  2024 /opt/freeware/sbin/slapmodify -> ../lib/slapd

Shouldn't "/opt/freeware/sbin/slapmodify" be mapped to "../sbin/slapd"?


Thanks,
Wojtek


#AIXOpenSource
RESHMA KUMAR's profile image
RESHMA KUMAR

Thanks for reporting the issue. We will fix this in the next release.


#AIXOpenSource
Wojciech Wawrzyczek's profile image
Wojciech Wawrzyczek

Should I map /opt/freeware/sbin/slapmodify" to "../sbin/slapd" for now or delete the broken link?


#AIXOpenSource
RESHMA KUMAR's profile image
RESHMA KUMAR

You can modify the link to point to /opt/freeware/sbin/slapd for the time being. We will fix this soon.


#AIXOpenSource
Ranjit Ranjan's profile image
Ranjit Ranjan

FYI.
New version of openldap-2.5.16-2  is available in AIX tool box.  Please update .


#AIXOpenSource