Making HMRC's BPT-RTI work on 13.2 - 64 bit

This HMRC software used to work on 12.3 with the addition of a library file. I am now trying to install and run on 13.2 on 64 bit machine. The software explicitly is not supported on 64 bit system so I shall have to install 32 bit library files. I asked HMRC IT support for help and they have replied as follows:-

Please note that you carry out these steps entirely at their own risk and you may wish to contact your own IT support before following them.

You may wish to begin by previewing the potential changes to your system in safe mode to check if they will have any undesired results:

$ sudo apt-get install -s libcomerr2:i386 libfontconfig1:i386 libfreetype6:i386 libgl1:i386 libgssapi-krb5-2:i386
libk5crypto3:i386 libkrb5-3:i386 libpng12-0:i386 libreadline5:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386
libxrender1:i386 libz1:i386

Assuming there are no undesired results, the following command will alter your system configuration to allow BPT to continue to work:

$ sudo dpkg --add-architecture i386
$ sudo apt-get install libcomerr2:i386 libfontconfig1:i386 libfreetype6:i386 libgl1:i386 libgssapi-krb5-2:i386
libk5crypto3:i386 libkrb5-3:i386 libpng12-0:i386 libreadline5:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386
libxrender1:i386 libz1:i386

Being unsure about apt-get on rpm based system I thought I would install the libraries using Yast but some are not in the repos I am using. Before I mess up please could somebody advise best way forward.

Budgie2

The naming convention may be different try doing the search without the 386 on the end Assuming your OS is 64 bit you want the libraries with 32bit in the names

Hi and yes, understood.

Two issues,
If I select the 32 bit pattern in yast it does not appear to download anything. I had assumed it would review my libraries and select 32 bit equivalents. Clearly not.

More important, the lib file libcomerr2 is to enable communication with M$ and if I google this together with opensuse I get huts but nothing comes up in yast. How do I find the necessary repo and install on my system to get this on yast?

I don’t think the 32 bit pattern installs all 32 bit packages just the normal ones at the install of the OS. So if you need specific 32 bit you need to do the search as I described. In yast search for the package then select the 32 bit version. Note you can also in the search check the provides and description boxes in case the library is part of a bigger package. Note also that it may be that a specific library is simply not provided in the main repos so try a search here

https://software.opensuse.org/search

Maybe some individual has packed things up for you.

Hi and thanks again. Sadly I had this running on 12.2 but the most important library, libcomerr2 is no longer available on openSUSE sites, only Ubuntu and Debian.
I hope somebody will get round to sorting this out but sadly HMG are only timid supporters of Linux.

It’s called libcom_err2 on 13.2 ( libcom_err2-32bit and libcom_err2 )

Hi Miuku,
Many many thanks. Once again I am in your debt. Spent an hour on google but couldn’t find it. There are a couple of other files I couldn’t find;
libgssapi-krb5-2
libk5crypto3
libkrb5-3
If you have any ideas on these it would complete my set. Meanwhile will try and run RTI Tools again.
Budgie2

PS. Tried again and still received error message:-

Segmentation fault

Is this a missing library or a 32 bit issue as program only runs on 32 bit.

Try:
cyrus-sasl-gssapi-32bit
libcrypt20-32bit
krb5-32bit

Hi and many thanks. I found and installed cyrus, the krb5 was laready installed but couldn’t find libcrypt20. I already have libgcrypt20-32bit but could only find libcrypto30-32bit and tried it but still getting the same error message. Do you have this HMRC software running on your system?
Budgie2