XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so
Hello, Was recently messing around with /root/.bashrc and I think it ruined my firefox. From the applications menu, trying to run Firefox does nothing. Running firefox, firefox -safe-mode, and bash /usr/lib/firefor-bash all produce the following message:
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so: /usr/lib/firefox/libxul.so: undefined symbol: sqlite3_expanded_sql Couldn't load XPCOM.
Searching around a little, it looks like this was an issue on older versions of Linux, but nothing too recently.
I tried installing/reinstalling firefox and got nothing. I also installed xulrunner and nothing. I installed firefox-esr and that works fine, so I'm happy. Nevertheless, I thought I would post about it.
Wšykne wótegrona (1)
I ran LD_DEBUG=files firefox > firefox.log 2>&1 and it gave this: (The whole log file couldn't fit but this seems sufficient)
5025: file=libICE.so.6 [0]; needed by /lib/libXt.so.6 [0] 5025: file=libICE.so.6 [0]; generating link map 5025: dynamic: 0xaef14ea8 base: 0xaeefb000 size: 0x0001c210 5025: entry: 0xaeefe860 phdr: 0xaeefb034 phnum: 7 5025: 5025: /usr/lib/firefox/libxul.so: error: symbol lookup error: undefined symbol: sqlite3_expanded_sql (fatal) 5025: 5025: file=/usr/lib/firefox/libxul.so [0]; destroying link map 5025: 5025: file=/lib/libicui18n.so.59 [0]; destroying link map 5025: 5025: file=/lib/libicuuc.so.59 [0]; destroying link map 5025: 5025: file=/lib/libssl3.so [0]; destroying link map 5025: 5025: file=/lib/libsmime3.so [0]; destroying link map 5025: 5025: file=/lib/libnss3.so [0]; destroying link map 5025: 5025: file=/lib/libnssutil3.so [0]; destroying link map 5025: 5025: file=/lib/libplc4.so [0]; destroying link map 5025: 5025: file=/lib/libplds4.so [0]; destroying link map 5025: 5025: file=/lib/libnspr4.so [0]; destroying link map 5025: 5025: file=/lib/libsqlite3.so.0 [0]; destroying link map 5025: 5025: file=/lib/libjpeg.so.8 [0]; destroying link map 5025: 5025: file=/lib/libhunspell-1.6.so.0 [0]; destroying link map 5025: 5025: file=/lib/libevent-2.0.so.5 [0]; destroying link map 5025: 5025: file=/lib/libvpx.so.4 [0]; destroying link map 5025: 5025: file=/lib/libasound.so.2 [0]; destroying link map 5025: 5025: file=/lib/libdbus-glib-1.so.2 [0]; destroying link map 5025: 5025: file=/lib/libstartup-notification-1.so.0 [0]; destroying link map 5025: 5025: file=/lib/libX11-xcb.so.1 [0]; destroying link map 5025: 5025: file=/lib/libXt.so.6 [0]; destroying link map 5025: 5025: file=/lib/libicudata.so.59 [0]; destroying link map 5025: 5025: file=/lib/libxcb-util.so.1 [0]; destroying link map 5025: 5025: file=/lib/libSM.so.6 [0]; destroying link map 5025: 5025: file=/lib/libICE.so.6 [0]; destroying link map
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so: /usr/lib/firefox/libxul.so: undefined symbol: sqlite3_expanded_sql
5025: 5025: calling fini: /usr/lib/firefox/libmozgtk.so [0]