You are not logged in.

#1 2023-12-08 20:34:38

erickwill
Member
Registered: 2013-11-05
Posts: 145

[SOLVED] Problems to Load T0R

I started to have issues after a fresh Arch install to running T0R using the package provided in the T0R website.

Got this error:
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory Couldn't load XPCOM.

Seems that libdbus-glib is not available in my stack though I never had that to install it before to run T0R properly. I tried to search for this lib but unfortunately I couldn't find it.

Anyone has a solution?


=================== SOLUTION: ============================

Here is the proper solution:

To install libdbus-glib-1.so.2 on Arch Linux, you can just intall this package:

sudo pacman -S dbus-glib

This will install the latest version of dbus-glib package which includes libdbus-glib-1.so.2

That's it.

Last edited by erickwill (2023-12-09 13:16:09)

Offline

#2 2023-12-08 20:47:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [SOLVED] Problems to Load T0R

https://wiki.archlinux.org/title/Tor#Installation
https://archlinux.org/packages/extra/x86_64/tor/

libdbus-glib-1.so.2 would require a time-machine - or debian stable.

Edit, ftr: XPCOM officially died 2017, https://en.wikipedia.org/wiki/XPCOM

Last edited by seth (2023-12-08 20:49:40)

Online

#3 2023-12-08 20:55:25

erickwill
Member
Registered: 2013-11-05
Posts: 145

Re: [SOLVED] Problems to Load T0R

Any workaround besides a time machine or to install debian?

Offline

#4 2023-12-08 20:56:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [SOLVED] Problems to Load T0R

Install tor from the repos instead of probably some dated debian package?

Online

#5 2023-12-08 21:02:12

erickwill
Member
Registered: 2013-11-05
Posts: 145

Re: [SOLVED] Problems to Load T0R

Thanks

Offline

#6 2023-12-08 21:32:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [SOLVED] Problems to Load T0R

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

#7 2023-12-09 13:15:46

erickwill
Member
Registered: 2013-11-05
Posts: 145

Re: [SOLVED] Problems to Load T0R

Here is the proper solution:

To install libdbus-glib-1.so.2 on Arch Linux, you can just intall this package:

sudo pacman -S dbus-glib

This will install the latest version of dbus-glib package which includes libdbus-glib-1.so.2

That's it.

Offline

#8 2023-12-09 15:45:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [SOLVED] Problems to Load T0R

Is there any specific reason why you insist on using a dated version of TOR that was probably built for a different distribution and depends on a protocol that has been deprecated for two decades instead of using the repo version?

Out of curiosity: since dbus-glib will still not get you xpcom, does this actually work?

Online

#9 2023-12-10 14:32:27

erickwill
Member
Registered: 2013-11-05
Posts: 145

Re: [SOLVED] Problems to Load T0R

seth wrote:

Is there any specific reason why you insist on using a dated version of TOR that was probably built for a different distribution and depends on a protocol that has been deprecated for two decades instead of using the repo version?

Out of curiosity: since dbus-glib will still not get you xpcom, does this actually work?

The main reason why I use this package, which is not outdated, is because it maintain the Arch system folders as clear as possible without nothing besides this dependency that I installed.
So, if for some reason I decide to remove T0r it does not leave leftovers around my system.
Don't know if makes sense for others, but this is the way I like.
And yes, it's working, I think that xpcom is embed into the app and the dbus-glib make it available for use, not sure though, but it works and this is what matters.
Thanks for your assistance.

Offline

Board footer

Powered by FluxBB