LTFS - build for rocky 8.10 & rocky 9

Hello

Hello

I am struggling to build the latest version of the LTFS 2.5.1 drivers for Rocky 8.10 & 9.

I cannot find a rpm for LTFS 2.5.1 (which seems strange to me, as it is an industry standard LTO format) : does anyone know where this might be ?

I am trying to build the latest version … but I cannot find in dnf

  1. libxml-2.0 2.6.16 or later
  2. icu4c 4.8 or later

On the configure command …

checking for pkg-config... /usr/bin/pkg-config
checking for genrb... no
configure: error: genrb was not found

Any help is most welcome. Thank you

Well, according to https://pkgs.org/search/?q=ltfs no it doesn’t exist other than for Debian-based systems. Nobody has packaged it for RHEL, Rocky, Alma, etc.

As for the packages:

root@rocky8:~# dnf list libxml2*
Last metadata expiration check: 0:52:12 ago on Wed 17 Dec 2025 08:50:23 AM CET.
Installed Packages
libxml2.x86_64                                           2.9.7-21.el8_10.3                                     @baseos  
Available Packages
libxml2.i686                                             2.9.7-21.el8_10.3                                     baseos   
libxml2-devel.i686                                       2.9.7-21.el8_10.3                                     appstream
libxml2-devel.x86_64                                     2.9.7-21.el8_10.3                                     appstream

clearly shows that libxml is available. Assuming libicu:

root@rocky8:~# dnf list libicu*
Last metadata expiration check: 0:53:27 ago on Wed 17 Dec 2025 08:50:23 AM CET.
Available Packages
libicu.i686                                                 60.3-2.el8_1                                          baseos
libicu.x86_64                                               60.3-2.el8_1                                          baseos
libicu-devel.i686                                           60.3-2.el8_1                                          baseos
libicu-devel.x86_64                                         60.3-2.el8_1                                          baseos
libicu-doc.noarch                                           60.3-2.el8_1                                          baseos
libicu50.x86_64                                             50.2-5.el8                                            epel 

as you can see a version is available in EPEL repository as well if needed. If you haven’t enabled that, then:

dnf install -y epel-release

same commands will work for Rocky 9 as well.

And for the genrb item:

root@rocky8:~# dnf provides */genrb
Last metadata expiration check: 0:55:29 ago on Wed 17 Dec 2025 08:50:23 AM CET.
icu-60.3-2.el8_1.x86_64 : International Components for Unicode
Repo        : baseos
Matched from:
Filename    : /usr/bin/genrb

shows a package called icu basically if you look at the build requirements, and look at the differences between Linux and say FreeBSD, you can see that under Linux they mention icu4c, but under FreeBSD they mention icu. Would probably be easier if they actually listed the package names correctly in their documentation rather than just generalising and making it slightly more difficult for people to find them.

Also, finding packages is relatively easy, if you tried:

dnf list libxml-2

and found nothing, then we need to work on the main common part, so xml.

dnf list \*xml\*

will list all packages that have xml in their name. You can do the same with icu as well, and at that point, you have a list, and can choose the appropriate one to install. And if you know you are missing something like genrb, then you use the provides example above where I showed that and how it found the package that has that binary. Or we can use the more common libxml part, so:

dnf list libxml*

and we would have seen that libxml2 packages exist rather than libxml-2. Failing that, a search on pkgs.org would also give results on what potentially exists or not but again providing the correct filename, or part of filename like with the dnf command examples above.

Thank you so much for your advice. I’ve asked the dev if he cannot build a RHEL friendly rpm … but I’m waiting for a reply.

1 Like