xca
xca copied to clipboard
No longer finds oids.txt etc if prefix non-standard
I have a habit of placing software under /opt.
I configure xca with --prefix=/opt/xca-20210604, built then installed it.
Now none of the extended oid's are listed.
Running strace against it, I see that xca no longer looks under the prefix directory...
zz@localhost:/opt/xca> grep oids.txt oo 16722 openat(AT_FDCWD, "/home/b/.local/share/xca/oids.txt", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 16722 openat(AT_FDCWD, "/home/b/.local/share/flatpak/exports/share/xca/oids.txt", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 16722 openat(AT_FDCWD, "/var/lib/flatpak/exports/share/xca/oids.txt", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 16722 openat(AT_FDCWD, "/usr/local/share/xca/oids.txt", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 16722 openat(AT_FDCWD, "/usr/share/xca/oids.txt", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
And sure enough, it's not searching under /opt/xca-20210604/share/xca.
If I create a symlink between /opt/xca.../share/xca & /usr/local/share/xca, they are then shown.
If I create a sylink, or cp the share/xcs dir, starting xca comes up with an error, twice, same window...
And the user setting path does not seem to be updated correctly...
From the Help/About...
Installation path: | /home/b/.local/share/xca User settings path: | /home/b/.local/share/xca Working directory: | /home/b/Documents/
So nothing for /opt/xca...