Discussion:
AlienBob's keepassxc package doesn't start
(too old to reply)
slash
2023-10-30 11:06:22 UTC
Permalink
Hi all

I've installed with slapt-get this package:
http://www.slackware.com/~alien/slackbuilds/keepassxc/pkg64/15.0/keepassxc-2.7.6-x86_64-1alien.txz

It installs, together with the few dependencies listed in
keepassxc-2.7.6-x86_64-1alien.dep. When I try to run it, this is what
happens:

***@darkstar:~$ keepassxc
keepassxc: symbol lookup error: keepassxc: undefined symbol:
_ZN5Botan8DL_GroupC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

Same with any other non root user. Any idea on how to fix this?
Thanks.
--
/
Thomas Zajic
2023-10-31 13:04:36 UTC
Permalink
Post by slash
It installs, together with the few dependencies listed in
keepassxc-2.7.6-x86_64-1alien.dep. When I try to run it, this is what
This should actually be in alien's "botan" package:

[***@next:~]# grep -ls _ZN5Botan8DL_GroupC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE /usr/lib64/*
/usr/lib64/libbotan-2.so
/usr/lib64/libbotan-2.so.19
/usr/lib64/libbotan-2.so.19.19.1
[***@next:~]# grep libbotan-2.so.19.19.1 /var/log/packages/*
/var/log/packages/botan-2.19.1-x86_64-1alien:usr/lib64/libbotan-2.so.19.19.1

alien's keepassxc works fine on this system. Are you *sure* you picked up
the botan dependency? Did you accidently pick the one from the pkg (i586)
instead of the pkg64 (x86_64) directory? What do "ldd /usr/bin/keepassxc"
and "ldd /usr/lib64/libbotan-2.so.19.19.1" give, any "not found" entries?

HTH
Thomas
--
=-------------------------------------------------------------------------=
- Thomas "ZlatkO" Zajic <***@gmx.at> Linux-6.1 & slrn-1.0.3a -
- "In layman's terms: speedy thing goes in, speedy thing comes out." -
=-------------------------------------------------------------------------=
slash
2023-11-03 12:27:21 UTC
Permalink
Post by Thomas Zajic
Post by slash
It installs, together with the few dependencies listed in
keepassxc-2.7.6-x86_64-1alien.dep. When I try to run it, this is what
/usr/lib64/libbotan-2.so
/usr/lib64/libbotan-2.so.19
/usr/lib64/libbotan-2.so.19.19.1
Here this grep returns nothing. Yet those files are there:

***@darkstar:~$ ll /usr/lib64/libbotan-2.so*
lrwxrwxrwx 1 root root 21 2023-10-30 10:44 /usr/lib64/libbotan-2.so ->
libbotan-2.so.19.19.1
lrwxrwxrwx 1 root root 21 2023-10-30 10:44 /usr/lib64/libbotan-2.so.19
-> libbotan-2.so.19.19.1
-rwxr-xr-x 1 root root 5.5M 2022-03-30 14:05
/usr/lib64/libbotan-2.so.19.19.1
Post by Thomas Zajic
/var/log/packages/botan-2.19.1-x86_64-1alien:usr/lib64/libbotan-2.so.19.19.1
Identical here.
Post by Thomas Zajic
alien's keepassxc works fine on this system. Are you *sure* you picked up
the botan dependency? Did you accidently pick the one from the pkg (i586)
instead of the pkg64 (x86_64) directory?
Nope, slapt-get did it all by itself
Post by Thomas Zajic
What do "ldd /usr/bin/keepassxc"
and "ldd /usr/lib64/libbotan-2.so.19.19.1" give, any "not found" entries?
This is my output: https://pastebin.com/WtVMwNzd
Post by Thomas Zajic
HTH
Thomas
Thanks Thomas, any other idea?
--
/
Thomas Zajic
2023-11-03 17:50:41 UTC
Permalink
Post by slash
Post by Thomas Zajic
/usr/lib64/libbotan-2.so
/usr/lib64/libbotan-2.so.19
/usr/lib64/libbotan-2.so.19.19.1
lrwxrwxrwx 1 root root 21 2023-10-30 10:44 /usr/lib64/libbotan-2.so ->
libbotan-2.so.19.19.1
lrwxrwxrwx 1 root root 21 2023-10-30 10:44 /usr/lib64/libbotan-2.so.19
-> libbotan-2.so.19.19.1
-rwxr-xr-x 1 root root 5.5M 2022-03-30 14:05
/usr/lib64/libbotan-2.so.19.19.1
Well, that's strange ... what's the MD5 sum of this file on your system?

[***@next:~]# md5sum /usr/lib64/libbotan-2.so.19.19.1
bcc60e3dce1dfebbb4873c3a7e474e55 /usr/lib64/libbotan-2.so.19.19.1

Does "readelf -Ws --dyn-syms /usr/lib64/libbotan-2.so.19.19.1" or
"nm -D /usr/lib64/libbotan-2.so.19.19.1" show any exported symbols
at all?
Post by slash
Thanks Thomas, any other idea?
Other than a broken/corrupted download of the botan package, I can't
think of anything else right now, sorry. :-/

Bye
Thomas
--
=-------------------------------------------------------------------------=
- Thomas "ZlatkO" Zajic <***@gmx.at> Linux-6.1 & slrn-1.0.3a -
- "In layman's terms: speedy thing goes in, speedy thing comes out." -
=-------------------------------------------------------------------------=
slash
2023-11-06 10:28:27 UTC
Permalink
_ZN5Botan8DL_GroupC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
/usr/lib64/*
Post by Thomas Zajic
Post by slash
Post by Thomas Zajic
/usr/lib64/libbotan-2.so
/usr/lib64/libbotan-2.so.19
/usr/lib64/libbotan-2.so.19.19.1
lrwxrwxrwx 1 root root 21 2023-10-30 10:44 /usr/lib64/libbotan-2.so ->
libbotan-2.so.19.19.1
lrwxrwxrwx 1 root root 21 2023-10-30 10:44 /usr/lib64/libbotan-2.so.19
-> libbotan-2.so.19.19.1
-rwxr-xr-x 1 root root 5.5M 2022-03-30 14:05
/usr/lib64/libbotan-2.so.19.19.1
Well, that's strange ... what's the MD5 sum of this file on your system?
bcc60e3dce1dfebbb4873c3a7e474e55 /usr/lib64/libbotan-2.so.19.19.1
There we go! My /usr/lib64/libbotan-2.so.19.19.1 had a different md5.
Now keepassxc starts.

Digging a bit more, I found out that my md5 corresponded to the file in
the the 14.2 package:
http://www.slackware.com/~alien/slackbuilds/botan/pkg64/14.2/botan-2.19.1-x86_64-1alien.txz
I wonder why slapt-get pulled up that botan instead of the 15.0 one.

So I did this:

***@darkstar:~$ slapt-get -remove botan
Both botan and keepassxc were removed.
Then I manually downloaded the right package
http://www.slackware.com/~alien/slackbuilds/botan/pkg64/15.0/botan-2.19.1-x86_64-1alien.txz
and installed it:
***@darkstar:~$ installpkg ./botan-2.19.1-x86_64-1alien.txz
and finally reinstalled AlienBob's keepassxc:
***@darkstar:~$ slapt-get -install keepassxc
which this time around had already all the dependencies set.

I suspect there might be a problem between slapt-get and AlienBob's
keepassxc-2.7.6-x86_64-1alien.dep. It's the first time I see a ".dep"
file in a slackware package. Inside the file there's only the package
name, not the version, and the .dep is absent in the 14.2 directory.
Perhaps slapt-get needs a a bit of catch-up?

I was surprised when slapt-get, for the first time, said that it would
install more packages instead of only keepassxc. I think it's a great
improvement, as long as it picks up the right versions.

Thanks Thomas.
--
/
Loading...