Skip to content

Instantly share code, notes, and snippets.

@DrBrad
Forked from yukirii/hpe_sos_ubuntu.md
Created December 28, 2023 08:06
Show Gist options
  • Save DrBrad/1cfbc97dbcc52ff1bb3f3c4133bde2bd to your computer and use it in GitHub Desktop.
Save DrBrad/1cfbc97dbcc52ff1bb3f3c4133bde2bd to your computer and use it in GitHub Desktop.
installing HPE StoreOpen Software for RHELx64 to Ubuntu 20.04.2 LTS (Reference: https://rabbit-note.com/2020/01/12/ubuntu-ltfs/)

installing HPE StoreOpen Software for RHELx64 to Ubuntu 20.04.2 LTS.

Reference: https://rabbit-note.com/2020/01/12/ubuntu-ltfs/

Get SOS_RHELx64 rpm

https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=SOS_RHELx64

$ ls
HPE_StoreOpen_Software_3.4.2_RHELx64_Z7550-02502.tar.gz

$ tar zxvf HPE_StoreOpen_Software_3.4.2_RHELx64_Z7550-02502.tar.gz
COPYING.LIB
INSTALLING.linux
README
HPE-SOS-3.4.2-9.x86_64.rpm

Convert rpm to deb and install

$ sudo apt install alien

$ fakeroot alien HPE-SOS-3.4.2-9.x86_64.rpm
Warning: Skipping conversion of scripts in package HPE-SOS: postinst postrm preinst prerm
Warning: Use the --scripts parameter to include the scripts.
hpe-sos_3.4.2-10_amd64.deb generated

$ sudo dpkg -i hpe-sos_3.4.2-10_amd64.deb
Selecting previously unselected package hpe-sos.
(Reading database ... 81573 files and directories currently installed.)
Preparing to unpack hpe-sos_3.4.2-10_amd64.deb ...
Unpacking hpe-sos (3.4.2-10) ...
Setting up hpe-sos (3.4.2-10) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...

at this point, mkltfs not works due to error of shared lib.

$ mkltfs --version
mkltfs: error while loading shared libraries: libicui18n.so.50: cannot open shared object file: No such file or directory

resolve shared lib error

Install icu4c-50

wget https://github.com/unicode-org/icu/releases/download/release-50-2/icu4c-50_2-src.tgz
tar zxvf icu4c-50_2-src.tgz
cd ./icu/source
./configure
make
sudo make install

modify library reference

$ cat /etc/ld.so.conf.d/HPE-SOS.conf
/usr/local/lib64
$ echo "/usr/local/lib" | sudo tee -a /etc/ld.so.conf.d/HPE-SOS.conf
/usr/local/lib
$ sudo ldconfig -v

now mkltfs works!

$ mkltfs --version
mkltfs version 3.4.2
LTFS Format Specification version 2.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment