You are not logged in.
Hello guys. I am having trouble getting this application to launch...
I get this error message: (DagWallet:21349): Pango-ERROR **: 05:45:23.866: Harfbuzz version too old (1.2.1)
Although my harfbuzz verion is:
local/harfbuzz 2.6.2-1
OpenType text shaping engine
local/harfbuzz-icu 2.6.2-1
OpenType text shaping engine (ICU integration)
local/lib32-harfbuzz 2.6.2-1
OpenType text shaping engine (32-bit)
Please help, thank you...
Last edited by goosestepping (2019-10-02 09:34:41)
Offline
https://bbs.archlinux.org/viewtopic.php … 2#p1863872
Since there's no package for DagWallet (not even in the AUR): what exactly did you install?
Offline
I used debtap to convert the .deb file from https://dagcoin.org/wallet/...
It has always worked in the past.
I will check your link.
Thanks.
Offline
I tried running this seth, and I am getting the same error.
LD_PRELOAD=/usr/lib/libharfbuzz.so.0 /usr/share/Dagcoin-wallet/DagWallet
Offline
The DagWallet binary mentions 1.2.1 as part of "HB_OPTIONS" - you could use a hexeditor and alter the value, but assumung this is a compile time value (which version the binary was compiled with) this might not result in stable behavior either.
(The error seems misleading as the binary does link the system version of harfbuzz)
This became a problem because of pretty drastic recent pango changes, presmingly mandating up-to-date versions of harfbuzz…
Offline
Hello, where are you seeing this HB_OPTIONS? When you say binary you mean the file highlighted in the below screenshot, right?
Link: https://ibb.co/BT3kLYc
Thanks.
I scanned through the file using ghex and i cannot find it anywhere...
Last edited by goosestepping (2019-10-01 23:27:26)
Offline
Hello guys. I am having trouble getting this application to launch...
I get this error message: (DagWallet:21349): Pango-ERROR **: 05:45:23.866: Harfbuzz version too old (1.2.1)
Although my harfbuzz verion is:local/harfbuzz 2.6.2-1
OpenType text shaping engine
local/harfbuzz-icu 2.6.2-1
OpenType text shaping engine (ICU integration)
local/lib32-harfbuzz 2.6.2-1
OpenType text shaping engine (32-bit)Please help, thank you...
This application is incompatible with Archlinux system libraries.
Report to the creators and inform them.
This app has a statically linked harfbuzz library that is incompatible with the current Achlinux pango library.
readelf -Ws ./usr/share/Dagcoin-wallet/DagWallet | grep hb_
readelf -Ws ./usr/share/Dagcoin-wallet/lib/libnw.so | grep grep hb_
Please inform the developers that with such startup requirements of this application there is no chance that it will work properly on a wide range of GNU Linux distributions. In this form it is impossible.
readelf -d ./usr/share/Dagcoin-wallet/DagWallet | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libnw.so]
0x0000000000000001 (NEEDED) Shared library: [libglib-2.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libfreetype.so.6]
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
readelf -d ./usr/share/Dagcoin-wallet/lib/libnw.so | grep NEEDED
librt.so.1, libdl.so.2, libgmodule-2.0.so.0, libgobject-2.0.so.0, libglib-2.0.so.0, libnss3.so, libnssutil3.so, libsmime3.so, libnspr4.so,
libgconf-2.so.4, libgio-2.0.so.0, libm.so.6, libfontconfig.so.1, libfreetype.so.6, libpangocairo-1.0.so.0, libcairo.so.2, libpango-1.0.so.0
libX11.so.6, libXi.so.6, libXcursor.so.1, libXext.so.6, libXfixes.so.3, libXrender.so.1, libXss.so.1, libXcomposite.so.1, libasound.so.2
libXdamage.so.1, libXtst.so.6, libdbus-1.so.3, libatk-1.0.so.0, libXrandr.so.2, libexpat.so.1, libcups.so.2, libpthread.so.0, libgtk-x11-2.0.so.0
libgdk-x11-2.0.so.0, libgdk_pixbuf-2.0.so.0, libstdc++.so.6, libgcc_s.so.1,, libc.so.6, ld-linux-x86-64.so.2, libXss.so.1, libXcomposite.so.1
libasound.so.2, libXdamage.so.1, libXtst.so.6, libdbus-1.so.3, libatk-1.0.so.0, libXrandr.so.2, libexpat.so.1, libcups.so.2, libpthread.so.0
libgtk-x11-2.0.so.0, libgdk-x11-2.0.so.0, libgdk_pixbuf-2.0.so.0, libstdc++.so.6, libgcc_s.so.1, libc.so.6, ld-linux-x86-64.so.2
With such important and numerous libraries, there will always be mismatches.
Last edited by latalante1 (2019-10-01 23:56:20)
Offline
Oh okay, thank you. I will let them know...
Offline
This does not mean that it cannot be started.
Easy way.
curl -JOL http://ftp.acc.umu.se/pub/GNOME/sources/pango/1.42/pango-1.42.4.tar.xz
tar xf pango-1.42.4.tar.xz
cd pango-1.42.4
printf "all:\n\ttrue\n\ninstall:\n\ttrue\n\n" > tests/Makefile.in
./configure --prefix=/usr
make && make DESTDIR="~/oldlib/pango" install
LD_LIBRARY_PATH=~/oldlib/pango/usr/lib /usr/share/Dagcoin-wallet/DagWallet
Safer a little harder. I only recommend it.
Never but never run such shady apps from your active account. Create temporary user accounts for such applications.
xhost +si:localuser:dagcoin && su - dagcoin -c 'DISPLAY=:0 HOME=/home/dagcoin LD_LIBRARY_PATH=/home/dagcoin/oldlib/pango/usr/lib:/home/dagcoin/apps/usr/share/Dagcoin-wallet/lib /home/dagcoin/apps/usr/share/Dagcoin-wallet/DagWallet 2>/dev/null' && xhost - || xhost -
Last edited by latalante1 (2019-10-04 08:02:40)
Offline
Thank you, could you please explain to me what that second line which you wrote does?
This one?
xhost +si:localuser:dagcoin && su - dagcoin -c 'DISPLAY=:0 HOME=/home/dagcoin LD_LIBRARY_PATH=~/oldlib/pango/usr/lib:share/Dagcoin-wallet/DagWallet 2>/dev/null' && xhost - || xhost -
Just step by step if you don't mind, so that i can learn...
Last edited by goosestepping (2019-10-02 08:49:07)
Offline
Oh, I've got it, it's okay. Thanks man.
Offline
It means launching the application from another user's account under your active X session.
Check the wiki how to create a new user account.
Edit: This is just isolation at the file access level. A bad application can monitor keystrokes and have access to the clipboard of the user who allowed access to the X.
You can use other methods for a safe sandbox (freejail and others).
Last edited by latalante1 (2019-10-02 12:02:00)
Offline
Is it a problem that pacman will not be aware that this old library installation exists?
Offline
No, this oldlib is only present in your home directory and will only be resolved with an appropriately adjusted LD_LIBRARY_PATH
Online
EXCELLENT, that worked! Thank you!
Offline
Thanks. It work for me.
Offline