You are not logged in.
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
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)
Offline
Any workaround besides a time machine or to install debian?
Offline
Install tor from the repos instead of probably some dated debian package?
Offline
Thanks
Offline
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.
Offline
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
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?
Offline
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