HewlettPackard / python-redfish-utility

Python-based utility for interacting with devices supporting a Redfish Service
Other
85 stars 41 forks source link

iLOREST RPM package missing dependency on libcrypt.so.1 #97

Open champtar opened 6 months ago

champtar commented 6 months ago

On RHEL 9.3 when using https://github.com/HewlettPackard/python-redfish-utility/releases/download/V5.0.0.0/ilorest-5.0.0.0-12.x86_64.rpm, I get the following error

# ilorest --version
[10239] Error loading Python lib '/tmp/_MEIlJgq7H/libpython3.10.so.1.0': dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

Installing libxcrypt-compat fixes the issue. ilorest rpm should have Requires: /usr/lib64/libcrypt.so.1

rajeevkallur commented 6 months ago

@champtar , Will fix it soon.

jpoliv commented 4 months ago

Any update regarding this issue? The issue is still present on ilorest-5.1.0.0.

The /usr/lib64/libcrypt.so.1 is provided by

Note:

rajeevkallur commented 4 months ago

@champtar , @jpoliv

Current rpm config is

Name: ilorest License: Copyright 2016-2022 Hewlett Packard Enterprise Development LP Group: System/Configuration/Packaging AutoReqProv: on Version: %VERSION% Release: %RELEASE%

Source0: ilorest-%{version}.tar.bz2 Url: https://www.hpe.com/info/restfulapi Vendor: Hewlett Packard Enterprise Packager: Hewlett Packard Enterprise Summary: RESTful Interface Tool

BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: /usr/lib64/libcrypt.so.1

BuildRequires: which

%description Command line interface for managing HPE ProLiant Servers

How should the spec modified to include both so.1. and so.2 files?