Closed Bug 1891991 Opened 10 months ago Closed 10 months ago

Firefox ASAN builds fail to start on Linux with error: "error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory"

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: whimboo, Unassigned)

References

Details

I downloaded an ASAN build from Treeherder to run some local checks but starting Firefox fails with the following error:

gecko firefox/firefox
firefox/firefox: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory

But running find shows that the file exists:

find /lib/ -name libgcc_s.so.1
/lib/x86_64-linux-gnu/libgcc_s.so.1

So not sure what prevents Firefox from finding this library.

See Also: → 1891766

Can't reproduce here, so this has to be something specific to your system. Try setting LD_DEBUG to libs in the environment and check what's going on.

Oh good call. When I used that environment variable I noticed that no x86_64 libs where included in the search path. Running file on the firefox binary actually showed me that I accidentally downloaded a 32bit version. Now after downloading a real 64bit version I'm able to start Firefox.

That makes this bug invalid.

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