Open n-sweep opened 5 months ago
Hey @n-sweep, thanks for reaching out and for filing a detailed report. Currently, I’m unable to reproduce this issue. I created this repo using the information you provided. Could you let me know in case I’m missing anything or made a mistake in the setup? Just to note, I’m using a macOS machine to replicate this.
Also, based on the debug logs you shared, it looks like the cause of the error was ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory
. I looked the error up online and found this Stack Overflow post that mentions trying to install the gcc-unwrapped
package.
Hi @aalej, thanks for the response. I have gcc-unwrapped
and stdenv.cc.cc.lib
both installed. I've seen errors related to libstdc++.so.6
when working with python packages previously and installing stdenv.cc.cc.lib
was the fix; this only occurs when importing the firestore library (functions alone can emulate and deploy as expected).
ETA: I have also set my LD_LIBRARY_PATH
as that SO post suggests but observed no change in behavior.
Hey @n-sweep. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Hi @aalej, what other information can I provide?
[REQUIRED] Environment info
firebase-tools: 13.10.0
Platform: NixOS 24.05
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
Run
firebase emulators:start
orfirebase deploy
[REQUIRED] Expected behavior
I did a POC with a simple function and no firestore integration at first. The emulation & deploy worked as expected. I would expect the same behavior when accessing the firestore library as well.
[REQUIRED] Actual behavior
emulation and deployment both fail with the below error:
Additional Information
the result of
pip install google-cloud-firestore
: