You are not logged in.

#1 2019-10-01 19:50:21

goosestepping
Member
Registered: 2019-09-25
Posts: 79

[SOLVED] Cannot get this application to launch...

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

#2 2019-10-01 20:09:40

seth
Member
Registered: 2012-09-03
Posts: 58,882

Re: [SOLVED] Cannot get this application to launch...

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

#3 2019-10-01 20:27:11

goosestepping
Member
Registered: 2019-09-25
Posts: 79

Re: [SOLVED] Cannot get this application to launch...

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

#4 2019-10-01 20:30:37

goosestepping
Member
Registered: 2019-09-25
Posts: 79

Re: [SOLVED] Cannot get this application to launch...

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

#5 2019-10-01 20:51:18

seth
Member
Registered: 2012-09-03
Posts: 58,882

Re: [SOLVED] Cannot get this application to launch...

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

#6 2019-10-01 23:26:45

goosestepping
Member
Registered: 2019-09-25
Posts: 79

Re: [SOLVED] Cannot get this application to launch...

Hello, where are you seeing this HB_OPTIONS? When you say binary you mean the file highlighted in the below screenshot, right?

BT3kLYc

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

#7 2019-10-01 23:45:18

latalante1
Member
Registered: 2018-08-30
Posts: 110

Re: [SOLVED] Cannot get this application to launch...

goosestepping wrote:

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

#8 2019-10-01 23:46:38

goosestepping
Member
Registered: 2019-09-25
Posts: 79

Re: [SOLVED] Cannot get this application to launch...

Oh okay, thank you. I will let them know...

Offline

#9 2019-10-02 08:41:47

latalante1
Member
Registered: 2018-08-30
Posts: 110

Re: [SOLVED] Cannot get this application to launch...

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

#10 2019-10-02 08:48:30

goosestepping
Member
Registered: 2019-09-25
Posts: 79

Re: [SOLVED] Cannot get this application to launch...

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

#11 2019-10-02 08:54:55

goosestepping
Member
Registered: 2019-09-25
Posts: 79

Re: [SOLVED] Cannot get this application to launch...

Oh, I've got it, it's okay. Thanks man.

Offline

#12 2019-10-02 09:14:48

latalante1
Member
Registered: 2018-08-30
Posts: 110

Re: [SOLVED] Cannot get this application to launch...

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

#13 2019-10-02 09:16:47

goosestepping
Member
Registered: 2019-09-25
Posts: 79

Re: [SOLVED] Cannot get this application to launch...

Is it a problem that pacman will not be aware that this old library installation exists?

Offline

#14 2019-10-02 09:20:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,287

Re: [SOLVED] Cannot get this application to launch...

No, this oldlib is only present in your home directory and will only be resolved with an appropriately adjusted LD_LIBRARY_PATH

Offline

#15 2019-10-02 09:32:50

goosestepping
Member
Registered: 2019-09-25
Posts: 79

Re: [SOLVED] Cannot get this application to launch...

EXCELLENT, that worked! Thank you!

Offline

#16 2020-01-21 03:34:49

huypq
Member
Registered: 2020-01-21
Posts: 1

Re: [SOLVED] Cannot get this application to launch...

Thanks. It work for me.

Offline

Board footer

Powered by FluxBB