XPCOMGlueload error for file /usr/pkg/firefox/libmozgtk.so:/usr/pkg/lib/libgtk-3.so.0:Shared object "libgdk_pixbuf-2.0.so.0" not found Couldn't load XPCOM
could't open firefox
- Edited
unicorn as it says, you are missing shared objects.
- What NetBSD version (
uname -a
)? - Did this happen after an update (
pkgin update
andpkgin full-upgrade
) or, was it like this when you intalled firefox for the first time? - What repository for binary packages are you using (URL in
/usr/pkg/etc/pkgin/repositories.conf
)?
Thanks
I don't remember whether I did an upgrade,maybe. I use pkgin upgrade and after package refresh it's ok now.
What I would check first: does any file exist somewhere that starts with gdk_pixbuf-2 ?
If found, make a symlink /usr/pkg/lib/libgdk_pixbuf-2.0.so.0 to it.
In case not, try reinstalling graphics/gdk_pixbuf2...
- Edited
What if it works? The security risk of blindly using files is obvious...
Also, the actual file always has the full version number. All symlinks refer to it, so just don't rename or overwrite that one.
On my system:
~ $ readlink -f /usr/pkg/lib/libgdk_pixbuf-2.0.so
/usr/pkg/lib/libgdk_pixbuf-2.0.so.0.4200.6
~ $ pkg_info -Fe $(readlink -f /usr/pkg/lib/libgdk_pixbuf-2.0.so)
gdk-pixbuf2-2.42.6nb1
~ $ pkg_info gdk-pixbuf2
Information for gdk-pixbuf2-2.42.6nb1:
Comment:
Library for image loading and manipulation
Requires:
shared-mime-info>=1.0nb1
glib2>=2.70.2
tiff>=4.0.3nb5
png>=1.6.0nb1
Required by:
gdk-pixbuf2-xlib-2.40.2nb1
gtk3+-3.24.33
gtk2+-2.24.33nb4
dunst-1.5.0nb2
librsvg-2.52.8
libnotify-0.7.9nb4
dino-0.3.0
You can use pkg_delete -f gdk-pixbuf2
to force remove it, and then attempt to reinstall it (either as binary package, or by building it from source). I'd clear the pkgin cache first in the former case. Use pkg_admin check
and pkg_admin rebuild
to get an idea of what's going, by displaying missing shared objects and file checksum mismatches system-wide. Remember never to mix different pkgsrc branches.
- Edited
I have a similar error. Any help appreciated!
~$ firefox
XPCOMGlueLoad error for file /usr/pkg/lib/firefox/libxul.so:
/usr/pkg/lib/firefox/libxul.so: Shared object "libicui18n.so.73" not found
Couldn't load XPCOM.
~$ readlink -f /usr/pkg/lib/libicui18n.so
/usr/pkg.lib/libicui18n.so.74.1
~$ pkg_info -Fe $(readlink -f /usr/pkg/lib/libicui18n.so)
icu-74.1
~$ pkg_info icu-74.1
Information for icu-74.1:
Comment:
Robust and full-featured Unicode services
Required by:
boost-libs-1.83.0nb1
firefox-118.0.2nb1
musicpd-0.23.14nb4
Description:
The International Components for Unicode(ICU) is a C and C++ library that provides robust and full-featured Unicode support on a wide variety of platforms. The library provides:
- Calendar support
- Character set conversions
- Collation (language-sensitive)
- Date & time formatting
- Locales (140+ supported)
- Message catalogs (resources)
- Message formatting
- Normalization
- Number & currency formatting
- Time zones
- Transliteration
- Word, line & sentence breaks
Homepage:
https://icu.unicode.org/
Sorry for the necropost
pfr What did you do here?
I don't think firefox
will be the only package that is broken. If/when updating textproc/icu
across major versions, you need to rebuild every singel package that has any, direct or, indirect dependency on it.
If you are using precompiled binaries, chances are the build took place in between the icu
update and the required REVBUMP of all dependencies.
In which case, you need to wait for the next bulk-build in order to get this sorted out.
pin you need to wait for the next bulk-build in order to get this sorted out.
Thanks. You must be right.
I uninstalled firefox
and tried to reinstall and now I get
firefox is not available in the repository
- Edited
pin you need to wait for the next bulk-build in order to get this sorted out.
Updated this morning after a new bulk-build was published and I still get firefox is not in the repository
On the plus side, I was able to install badwolf
so I can access the web, but I dont want to use this browser long term.
EDIT: Will move this to a new thread as it's no longer relevant to the OP
kc9udx
The only result is
firefox_decrypt-0.7.0nb3 Extract passwords from Mozilla Firefox profiles