Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOVLED] XPCOMGlueLoad error for file /home/Downloads/tor
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Sat Jul 09, 2022 9:59 pm    Post subject: [SOVLED] XPCOMGlueLoad error for file /home/Downloads/tor Reply with quote

I'm trying to start tor browser but I noticed it do not start, after look up I installed both GTK2/3 and GTK4 packs but still no luck

Code:

Launching './Browser/start-tor-browser --detach -v'...
XPCOMGlueLoad error for file /home/esmailelbob/Downloads/tor-browser_en-US/Browser/libxul.so:
/home/esmailelbob/Downloads/tor-browser_en-US/Browser/libxul.so: undefined symbol: gdk_wayland_display_get_wl_compositor
Couldn't load XPCOM.


PS: I use xorg


# SOLVED

Follow: https://forums.gentoo.org/viewtopic-p-8725403.html#8725403
_________________
Linux is only free if your time has no value.


Last edited by esmailelbob on Sun Jul 10, 2022 7:54 am; edited 1 time in total
Back to top
View user's profile Send private message
sdauth
Guru
Guru


Joined: 19 Sep 2018
Posts: 572
Location: Ásgarðr

PostPosted: Sun Jul 10, 2022 1:37 am    Post subject: Reply with quote

See : https://github.com/MeisterP/torbrowser-overlay/issues/55

tldr: add wayland use flag for mesa & gtk+:3 until the bug is resolved.
Back to top
View user's profile Send private message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Sun Jul 10, 2022 2:44 am    Post subject: Reply with quote

sdauth wrote:
See : https://github.com/MeisterP/torbrowser-overlay/issues/55

tldr: add wayland use flag for mesa & gtk+:3 until the bug is resolved.



Okay now I'm getting this error.... this is why I said I use xorg
Code:

 * gtk+2.0_2.24.33.orig.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * gtk+2.0_2.24.33-1ubuntu2.debian.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                [ ok ]
 * ERROR: x11-libs/gtk+-2.24.33_p_p1_p02::unity-gentoo failed (setup phase):
 *   Invalid profile detected, please select a 'unity-gentoo' profile for your architecture shown in 'eselect profile list'
 *
 * Call stack:
 *                   ebuild.sh, line 127:  Called pkg_setup
 *                   ebuild.sh, line 360:  Called ubuntu-versionator_pkg_setup
 *   ubuntu-versionator.eclass, line 156:  Called die
 * The specific snippet of code:
 *                           die "Invalid profile detected, please select a 'unity-gentoo' profile for your architecture shown in 'eselect profile list'"
 *
 * If you need support, post the output of `emerge --info '=x11-libs/gtk+-2.24.33_p_p1_p02::unity-gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/gtk+-2.24.33_p_p1_p02::unity-gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.24.33_p_p1_p02/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.24.33_p_p1_p02/temp/die.env'.
 * Working directory: '/var/tmp/portage/x11-libs/gtk+-2.24.33_p_p1_p02/empty'
 * S: '/var/tmp/portage/x11-libs/gtk+-2.24.33_p_p1_p02/work/gtk+-2.24.33'

>>> Failed to emerge x11-libs/gtk+-2.24.33_p_p1_p02, Log file:

>>>  '/var/tmp/portage/x11-libs/gtk+-2.24.33_p_p1_p02/temp/build.log'

 * Messages for package x11-libs/gtk+-2.24.33_p_p1_p02:

 * ERROR: x11-libs/gtk+-2.24.33_p_p1_p02::unity-gentoo failed (setup phase):
 *   Invalid profile detected, please select a 'unity-gentoo' profile for your architecture shown in 'eselect profile list'
 *
 * Call stack:
 *                   ebuild.sh, line 127:  Called pkg_setup
 *                   ebuild.sh, line 360:  Called ubuntu-versionator_pkg_setup
 *   ubuntu-versionator.eclass, line 156:  Called die
 * The specific snippet of code:
 *                           die "Invalid profile detected, please select a 'unity-gentoo' profile for your architecture shown in 'eselect profile list'"
 *
 * If you need support, post the output of `emerge --info '=x11-libs/gtk+-2.24.33_p_p1_p02::unity-gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/gtk+-2.24.33_p_p1_p02::unity-gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.24.33_p_p1_p02/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.24.33_p_p1_p02/temp/die.env'.
 * Working directory: '/var/tmp/portage/x11-libs/gtk+-2.24.33_p_p1_p02/empty'
 * S: '/var/tmp/portage/x11-libs/gtk+-2.24.33_p_p1_p02/work/gtk+-2.24.33'

 * GNU info directory index is up-to-date.

 * IMPORTANT: 4 news items need reading for repository 'unity-gentoo'.
 * IMPORTANT: 1 news items need reading for repository 'src_prepare-overlay'.
 * IMPORTANT: 20 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.



_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
sdauth
Guru
Guru


Joined: 19 Sep 2018
Posts: 572
Location: Ásgarðr

PostPosted: Sun Jul 10, 2022 4:06 am    Post subject: Reply with quote

I also use xorg only. It works just fine.
The issue is you're using an overlay for gtk+:2 here and it is causing conflicts.

Also,
Code:
Invalid profile detected, please select a 'unity-gentoo' profile for your architecture shown in 'eselect profile list'


You need to fix that first. I have no idea what unity-gentoo profile is so I can't really help.. :o
Back to top
View user's profile Send private message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Sun Jul 10, 2022 4:51 am    Post subject: Reply with quote

sdauth wrote:
I also use xorg only. It works just fine.
The issue is you're using an overlay for gtk+:2 here and it is causing conflicts.

Also,
Code:
Invalid profile detected, please select a 'unity-gentoo' profile for your architecture shown in 'eselect profile list'


You need to fix that first. I have no idea what unity-gentoo profile is so I can't really help.. :o


Oh! thanks for pointing it out Now it works (deleted unity-gentoo overlay) I do not remember why I have installed it even but now it installs, however I still get same error...

Code:

Launching './Browser/start-tor-browser --detach -v'...
XPCOMGlueLoad error for file /home/esmailelbob/Downloads/tor-browser_en-US/Browser/libxul.so:
/home/esmailelbob/Downloads/tor-browser_en-US/Browser/libxul.so: undefined symbol: gdk_wayland_display_get_wl_compositor
Couldn't load XPCOM.


and in another post the user had same problem as mine someone asked for output so here is mine:
Code:

ldd Browser/libxul.so | egrep "gdk|gtk|wayland"
        libmozgtk.so => not found
        libmozwayland.so => not found
        libgtk-3.so.0 => /usr/lib64/libgtk-3.so.0 (0x00007f0ced306000)
        libgdk-3.so.0 => /usr/lib64/libgdk-3.so.0 (0x00007f0ced244000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0


And here is my command to install gtk+:
Code:

sudo USE="wayland" emerge --ask emerge --ask x11-libs/gtk+

_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
sdauth
Guru
Guru


Joined: 19 Sep 2018
Posts: 572
Location: Ásgarðr

PostPosted: Sun Jul 10, 2022 5:50 am    Post subject: Reply with quote

You need also wayland use flag enabled for media-libs/mesa (it will pull libwayland)

Here is mine :

Code:
   libmozgtk.so => not found
   libmozwayland.so => not found
   libgtk-3.so.0 => /usr/lib64/libgtk-3.so.0 (0x000078229fcd4000)
   libgdk-3.so.0 => /usr/lib64/libgdk-3.so.0 (0x000078229fbd9000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x000078229f9be000)
   libwayland-client.so.0 => /usr/lib64/libwayland-client.so.0 (0x000078229efac000)
   libwayland-cursor.so.0 => /usr/lib64/libwayland-cursor.so.0 (0x000078229ede4000)
   libwayland-egl.so.1 => /usr/lib64/libwayland-egl.so.1 (0x000078229eddf000)


Try to add wayland use to package.use and update world.

On my system :
/etc/portage/package.use/tor-browser

Code:
# needed for tor-browser
media-libs/mesa wayland
x11-libs/gtk+:3 wayland


Then : dispatch-conf && emerge -uDNav @world

Or for a quick try :
Code:
 sudo USE="wayland" emerge -a x11-libs/gtk+:3 media-libs/mesa
Back to top
View user's profile Send private message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Sun Jul 10, 2022 7:55 am    Post subject: Reply with quote

sdauth wrote:
You need also wayland use flag enabled for media-libs/mesa (it will pull libwayland)

Here is mine :

Code:
   libmozgtk.so => not found
   libmozwayland.so => not found
   libgtk-3.so.0 => /usr/lib64/libgtk-3.so.0 (0x000078229fcd4000)
   libgdk-3.so.0 => /usr/lib64/libgdk-3.so.0 (0x000078229fbd9000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x000078229f9be000)
   libwayland-client.so.0 => /usr/lib64/libwayland-client.so.0 (0x000078229efac000)
   libwayland-cursor.so.0 => /usr/lib64/libwayland-cursor.so.0 (0x000078229ede4000)
   libwayland-egl.so.1 => /usr/lib64/libwayland-egl.so.1 (0x000078229eddf000)


Try to add wayland use to package.use and update world.

On my system :
/etc/portage/package.use/tor-browser

Code:
# needed for tor-browser
media-libs/mesa wayland
x11-libs/gtk+:3 wayland


Then : dispatch-conf && emerge -uDNav @world

Or for a quick try :
Code:
 sudo USE="wayland" emerge -a x11-libs/gtk+:3 media-libs/mesa


Oh it worked!!! :D I think my problem I did not add wayland in package.use (still new in gentoo) and that I did not use -a in emerge
_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21724

PostPosted: Sun Jul 10, 2022 3:57 pm    Post subject: Reply with quote

If you are new to Gentoo, you probably should not be using poorly known overlays yet. That will complicate your system, and make it harder for us to help you.

Using -a is short for --ask. It prompts for approval, but has no effect on what is installed.

Using emerge -a emerge -a is valid, but probably not what you want, since that installs app-xemacs/emerge, an emacs package for managing text merges.
Back to top
View user's profile Send private message
esmailelbob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2022
Posts: 87
Location: Egypt

PostPosted: Sun Jul 10, 2022 4:32 pm    Post subject: Reply with quote

Hu wrote:
If you are new to Gentoo, you probably should not be using poorly known overlays yet. That will complicate your system, and make it harder for us to help you.

Using -a is short for --ask. It prompts for approval, but has no effect on what is installed.

Using emerge -a emerge -a is valid, but probably not what you want, since that installs app-xemacs/emerge, an emacs package for managing text merges.


I thought -a is short for recompile with use flags, hmm then maybe only missing part I did not use is add flags in packages.use


And I use overlay for needed applications like stremio so I'm trying indeed to limit my usage with overlays
_________________
Linux is only free if your time has no value.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum