Closed Bug 1544295 Opened 6 months ago Closed 10 days ago

Local linux debug build fails to run (GLIBCXX_3.4.22 not found)

Categories

(Firefox Build System :: General, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kats, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: in-triage)

My build was working fine a few day ago. Since then I applied some Ubuntu software updates and re-ran mach bootstrap. And updated my m-c checkout. Now the build completes successfully, but fails to run:

$ ./mach run
 0:00.25 /home/kats/zspace/gecko-misc/obj-host-debug/dist/bin/firefox -no-remote -profile /home/kats/zspace/gecko-misc/obj-host-debug/tmp/profile-default
XPCOMGlueLoad error for file /home/kats/zspace/gecko-misc/obj-host-debug/dist/bin/libxul.so:
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /home/kats/zspace/gecko-misc/obj-host-debug/dist/bin/libxul.so)
Couldn't load XPCOM.

I'm on Ubuntu 16.04.6 LTS and libstdc++6 is already the newest version (5.4.0-6ubuntu1~16.04.11).

Upgrading libstdc++6 from the ppa solved the problem (no need to rebuild mozilla-central):

sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update
sudo apt-get upgrade libstdc++6

What does your mozconfig look like?

Assuming this is related to older versions of Ubuntu packages getting in the way, please re-open or re-file if this comes up again.

Status: NEW → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.