Void-packages: firefox: crash on start without libvpx

Created on 26 Feb 2019  路  9Comments  路  Source: void-linux/void-packages

System

  • xuname:
    Void 4.14.95_1 x86_64-musl GenuineIntel uptodate hold rrnFFFFFFFFFFF
  • package:
    firefox-65.0.1_1 (with xbps-src build options ~dbus,~pulseaudio)

Expected behavior

Either the program doesn't crash at start without libvpx, or the package depends on it.

Actual behavior

$ /usr/bin/firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
Error loading shared library libvpx.so.5: No such file or directory (needed by /
usr/lib/firefox/libxul.so)
Couldn't load XPCOM.

Steps to reproduce the behavior

# xbps-remove libvpx
$ firefox
# xbps-install -S libvpx
$ firefox

Most helpful comment

ln -s /usr/lib/libvpx.so.5.0.0 /usr/lib/libvpx.so.5 worked as a "workaround" but...

All 9 comments

I see

we actually depend on libvpx5 (correctly) but libvpx is still present.

libvpx5 should have a replaces=

thanks for finding it out, i'll push a fix soon

How can this be fixed ? i'm having the same issue and can't find a way to use Firefox now. I tried to uninstall/reinstall libvpx, no luck.

ln -s /usr/lib/libvpx.so.5.0.0 /usr/lib/libvpx.so.5 worked as a "workaround" but...

I think this triggered a bug in xbps, reinstalling libvpx5 should solve this.

This seems to have worked. Thanks! :heart:

ln -s /usr/lib/libvpx.so.5.0.0 /usr/lib/libvpx.so.5 worked as a "workaround" but...

Thank you, @eraserewind

This error is still present unfortunately, just ran into it myself. Will be using @eraserewind 's workaround.

@eraserewind solution is not working i tried reinstalling library and firefox and symlink again still no avail

Was this page helpful?
0 / 5 - 0 ratings