I have successfully managed to get PAYE RTI running by replacing
/opt/HMRC/basic-paye-tools/libm.so.6
with
/usr/lib32/libm.so.6
Git Clone URL: | https://aur.archlinux.org/payetools-rti.git (read-only, click to copy) |
---|---|
Package Base: | payetools-rti |
Description: | UK HMRC Basic PAYE Tools for Linux |
Upstream URL: | https://www.gov.uk/basic-paye-tools |
Licenses: | custom |
Submitter: | kubrick |
Maintainer: | kubrick |
Last Packager: | kubrick |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2016-05-19 11:41 (UTC) |
Last Updated: | 2024-05-01 10:31 (UTC) |
I have successfully managed to get PAYE RTI running by replacing
/opt/HMRC/basic-paye-tools/libm.so.6
with
/usr/lib32/libm.so.6
Experiencing the same problem here. Apologies if there are any formatting errors, I'll correct them when I get a chance. It's my first attempt using code blocks! If you need any more information let me know.
Thanks in advance.
Ross
When runnin the PAYE TOOLS
/opt/HMRC/basic-paye-tools/rti.linux
Will produce:
Traceback (most recent call last):
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/instance_manager.py", line 243, in be_the_instance
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/__init__.py", line 186, in start_common
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 52, in start_db
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 100, in db_has_unapplied_migrations
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/south/migration/base.py", line 31, in all_migrations
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 139, in get_apps
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 78, in _populate
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 99, in load_app
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/utils/importlib.py", line 40, in import_module
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/__init__.py", line 1, in <module>
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/employer.py", line 11, in <module>
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/__init__.py", line 1, in <module>
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/submission.py", line 13, in <module>
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/task_pool.py", line 2, in <module>
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/tasks.py", line 2, in <module>
File "ExtensionLoader_lxml_etree.py", line 11, in <module>
ImportError: /opt/HMRC/basic-paye-tools/libm.so.6: version `GLIBC_2.29' not found (required by /usr/lib32/libicuuc.so.64)
Checking out my system. Pacman:
sudo pacman -Ss lib32-glibc
gives
core/lib32-glibc 2.29-1 [installed]
GNU C Library (32-bit)
Printing shared object dependencies for system's libm.so.6
sudo ldd -v /usr/lib32/libm.so.6
gives:
linux-gate.so.1 (0xf7f63000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf7c4e000)
/usr/lib/ld-linux.so.2 (0xf7f64000)
Version information:
/usr/lib32/libm.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /usr/lib32/libc.so.6
/usr/lib32/libc.so.6:
ld-linux.so.2 (GLIBC_2.3) => /usr/lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /usr/lib/ld-linux.so.2
Printing version information for basic-paye-tools libm.so.6
sudo ldd -v /opt/HMRC/basic-paye-tools/libm.so.6
gives:
/lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf7f03000)
linux-gate.so.1 (0xf7f02000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf7c8f000)
Version information:
/opt/HMRC/basic-paye-tools/libm.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
/usr/lib32/libc.so.6:
ld-linux.so.2 (GLIBC_2.3) => /usr/lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /usr/lib/ld-linux.so.2
Printing shared object dependencies for system's libicuuc.so.64
/usr/lib32/libicuuc.so.64
gives:
linux-gate.so.1 (0xf7f95000)
libicudata.so.64 => /usr/lib32/libicudata.so.64 (0xf630d000)
libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf62ec000)
libdl.so.2 => /usr/lib32/libdl.so.2 (0xf62e6000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf6162000)
libm.so.6 => /usr/lib32/libm.so.6 (0xf6096000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf6079000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf5e9d000)
/usr/lib/ld-linux.so.2 (0xf7f96000)
Version information:
/usr/lib32/libicuuc.so.64:
libgcc_s.so.1 (GCC_3.0) => /usr/lib32/libgcc_s.so.1
libdl.so.2 (GLIBC_2.0) => /usr/lib32/libdl.so.2
libdl.so.2 (GLIBC_2.1) => /usr/lib32/libdl.so.2
libm.so.6 (GLIBC_2.29) => /usr/lib32/libm.so.6
libm.so.6 (GLIBC_2.0) => /usr/lib32/libm.so.6
libc.so.6 (GLIBC_2.1) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.7) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.3.4) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
libstdc++.so.6 (CXXABI_1.3.8) => /usr/lib32/libstdc++.so.6
libstdc++.so.6 (CXXABI_1.3.2) => /usr/lib32/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4.11) => /usr/lib32/libstdc++.so.6
libstdc++.so.6 (CXXABI_1.3) => /usr/lib32/libstdc++.so.6
libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib32/libstdc++.so.6
libpthread.so.0 (GLIBC_2.0) => /usr/lib32/libpthread.so.0
/usr/lib32/libpthread.so.0:
ld-linux.so.2 (GLIBC_2.1) => /usr/lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
libc.so.6 (GLIBC_2.7) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.3.2) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.1) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.2) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /usr/lib32/libc.so.6
/usr/lib32/libdl.so.2:
ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.1) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
/usr/lib32/libstdc++.so.6:
libm.so.6 (GLIBC_2.0) => /usr/lib32/libm.so.6
ld-linux.so.2 (GLIBC_2.3) => /usr/lib/ld-linux.so.2
libgcc_s.so.1 (GCC_4.2.0) => /usr/lib32/libgcc_s.so.1
libgcc_s.so.1 (GLIBC_2.0) => /usr/lib32/libgcc_s.so.1
libgcc_s.so.1 (GCC_3.3) => /usr/lib32/libgcc_s.so.1
libgcc_s.so.1 (GCC_3.0) => /usr/lib32/libgcc_s.so.1
libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.18) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.16) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.1) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.3) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.17) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.3.2) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.2) => /usr/lib32/libc.so.6
/usr/lib32/libm.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /usr/lib32/libc.so.6
/usr/lib32/libgcc_s.so.1:
libc.so.6 (GLIBC_2.2.4) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
/usr/lib32/libc.so.6:
ld-linux.so.2 (GLIBC_2.3) => /usr/lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /usr/lib/ld-linux.so.2
Thanks!
hello @tlvince. I can reproduce the issue and it is probably due to the recent upgrade of lib32-glibc (2.28-6 -> 2.29-1).
I will see if I can do something about this...
rti-19.x
doesn't want to launch for me. First it complains about missing libxml2:
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: Traceback (most recent call last):
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/instance_manager.py", line 243, in be_the_instance
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/__init__.py", line 186, in start_common
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 52, in start_db
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 100, in db_has_unapplied_migrations
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/south/migration/base.py", line 31, in all_migrations
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 139, in get_apps
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 78, in _populate
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 99, in load_app
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/utils/importlib.py", line 40, in import_module
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/__init__.py", line 1, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/employer.py", line 11, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/__init__.py", line 1, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/submission.py", line 13, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/task_pool.py", line 2, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/tasks.py", line 2, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: File "ExtensionLoader_lxml_etree.py", line 11, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: ImportError: libxml2.so.2: cannot open shared object file: No such file or directory
pacman -S lib32-libxml2
solves that, but then it complains about glibc:
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: Traceback (most recent call last):
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/instance_manager.py", line 243, in be_the_instance
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/__init__.py", line 186, in start_common
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 52, in start_db
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 100, in db_has_unapplied_migrations
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/south/migration/base.py", line 31, in all_migrations
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 139, in get_apps
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 78, in _populate
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 99, in load_app
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/utils/importlib.py", line 40, in import_module
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/__init__.py", line 1, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/employer.py", line 11, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/__init__.py", line 1, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/submission.py", line 13, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/task_pool.py", line 2, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/tasks.py", line 2, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: File "ExtensionLoader_lxml_etree.py", line 11, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: ImportError: /opt/HMRC/basic-paye-tools/libm.so.6: version `GLIBC_2.29' not found (required by /usr/lib32/libicuuc.so.64)
That's already installed:
❯ pacman -Ss lib32-glibc
core/lib32-glibc 2.29-1 [installed]
GNU C Library (32-bit)
Any ideas?
No, I haven't found a way to contact them other than by phone on their helpline, and I've got a feeling this is going to be very time consuming...
Thanks! NB, have you reported the RPATH issue?
I think I found a solution. The configuration file doesn't seem to be necessary at all and the app just uses the defaults if it's not present. So the next release I do will just rename rti.cfg to rti.cfg.template and remove the Components section, so you can keep your custom configuration in place if you need one, it won't get overwritten.
userdatamode=2
allows you specify where the DB is stored. It seems the original use case was to support network drives. See install guide (search userdata
).
Hi @tlvince,
I'm afraid you know more than I do already. What does userdatamode=2 do? the installer's built-in help says valid values are 0 or 1.
I strace-d the command and unfortunately it doesn't seem to be looking for a config file in a user directory, which sucks.
backup may be an option, I'll give it a try, I don't know what's the impact of the version string...
Pinned Comments
kubrick commented on 2024-05-01 10:35 (UTC)
PSA: package was upgraded to upstream version 24.1.24086.542
As usual for new tax years, during the first launch, the program remains in a background to update the database with no visible activity on screen, with CPU at 100%. Do not panic and let it finish.