Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Unable to run due to missing libstdc++.so.6 #209

Closed
Ash3781 opened this issue May 23, 2024 · 6 comments · Fixed by #244
Closed

Bug: Unable to run due to missing libstdc++.so.6 #209

Ash3781 opened this issue May 23, 2024 · 6 comments · Fixed by #244
Assignees
Labels
Type: Bug Something isn't working as intended Type: Installation Installing, building, and/or launching the program
Milestone

Comments

@Ash3781
Copy link

Ash3781 commented May 23, 2024

Hey, I just tried to run the TagStudio.sh script, however it gave me the following error:

Traceback (most recent call last):
  File "/home/ash/git/TagStudio/tagstudio/tag_studio.py", line 7, in <module>
    from src.core.ts_core import TagStudioCore
  File "/home/ash/git/TagStudio/tagstudio/src/core/ts_core.py", line 10, in <module>
    from src.core.library import Entry, Library
  File "/home/ash/git/TagStudio/tagstudio/src/core/library.py", line 22, in <module>
    import ujson
ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory

I am using an AMD64 architecture and running NixOS on my machine, hence why I am unable to use the packages from the release files, NixOS is unable to run dynamically linked executables, if anyone needs more info please let me know

@Ash3781 Ash3781 changed the title Bug: Unable to install due to missing libstdc++.so.6 Bug: Unable to run due to missing libstdc++.so.6 May 23, 2024
@CyanVoxel CyanVoxel added the Type: Bug Something isn't working as intended label May 23, 2024
@CyanVoxel CyanVoxel moved this to In progress in TagStudio Development May 26, 2024
@CyanVoxel CyanVoxel added this to the NixOS Support milestone Jun 7, 2024
@CyanVoxel CyanVoxel added the Type: Installation Installing, building, and/or launching the program label Jun 7, 2024
@xarvex
Copy link
Member

xarvex commented Jun 10, 2024

This should be fixed thanks to #244 being merged in, please reopen if this persists.

@xarvex xarvex closed this as completed Jun 10, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in TagStudio Development Jun 10, 2024
@Ash3781
Copy link
Author

Ash3781 commented Jun 11, 2024

I am unable to reopen the issue, but the issue is not resolved, apart from the line numbers I'm still getting the very same error
image

@xarvex xarvex reopened this Jun 11, 2024
@xarvex
Copy link
Member

xarvex commented Jun 11, 2024

Is this after using the provided dev shell in the flake? (nix develop)

@Ash3781
Copy link
Author

Ash3781 commented Jun 11, 2024

I have no idea how flakes work, I am trying to run the TagStudio.sh script

@Ash3781
Copy link
Author

Ash3781 commented Jun 11, 2024

Okay, so when running nix develop in the git repository and then executing ./TagStudio.sh works and I get the TagStudio GUI, is there a way to integrate it "like a normal program" without needing to enter the two commands?

@xarvex
Copy link
Member

xarvex commented Jun 11, 2024

NixOS support is very experimental and it only just got to a state of working at all. I am investing time in exploring how it can be built standalone once #229 is merged.
On that note, you may get an error path/to/TagStudio/.venv/bin/pip: cannot execute: required file not found, this is due to the virtual environment looking for the previous store pip. Until #229 gets merged which should fix this, a rm -rf .venv will do the trick.

For now, until that is completed, the two commands are how to launch.

@xarvex xarvex closed this as completed Jun 11, 2024
@xarvex xarvex linked a pull request Jun 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as intended Type: Installation Installing, building, and/or launching the program
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants