Closed Bug 1292050 Opened 9 years ago Closed 9 years ago

Manual Firefox update using command line fails with: error loading libmozsqlite3.so

Categories

(Toolkit :: Application Update, defect)

45 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: adeptus, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0 Build ID: 20160601155443 Steps to reproduce: I tried updating Firefox ESR from 45.2.0 to 45.3.0 as usually do: I create /opt/firefox.update/ folder, download MAR file there from Mozilla FTP, validate its checksum, copy updater and updater.ini files there (actually this is done by a script) and then run the command: sudo /opt/firefox.update/updater /opt/firefox.update/ /opt/firefox/ /opt/firefox/ Actual results: I immediately receive an error: /opt/firefox.update/updater: error while loading shared libraries: libmozsqlite3.so: cannot open shared object file: No such file or directory I checked /usr/lib/ - there's no such file indeed, but I'm not aware whether it is needed. I'm running Ubuntu 12.04 LTS 32-bit.
OS: Unspecified → Linux
Hardware: Unspecified → x86
Component: Untriaged → Application Update
Product: Firefox → Toolkit
Summary: Firefox update via MAR fails: error loading libmozsqlite3.so → Manual Firefox update using command line fails with: error loading libmozsqlite3.so
As of Firefox 40 the LD_LIBRARY_PATH environment variable needs the path to the existing Firefox install directory. I've updated the instructions on the wiki https://wiki.mozilla.org/Software_Update:Manually_Installing_a_MAR_file#Steps_for_Linux
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
I can confirm. LD_LIBRARY_PATH is empty on my system. When I changed the command to sudo LD_LIBRARY_PATH="/opt/firefox/" /opt/firefox.update/updater /opt/firefox.update/ /opt/firefox/ /opt/firefox/ then update succeeded. Thanks for the swift resolution. BTW, you added "and above" text twice on the guide page. :)
You need to log in before you can comment on or make changes to this bug.