Skip to content

Does not have libary for the current platform (PCRE) #82

Closed

Description

@zwrawr

OS: Ubuntu 20.04 LTS

Unable to load addon script from path: 'res://addons/godot-git-plugin-v1.2.2/godot-git-plugin/git_api.gdns'. This might be due to a code error in that script.
Disabling the addon at 'res://addons/godot-git-plugin-v1.2.2/godot-git-plugin/plugin.cfg' to prevent further errors.
 GDScript language server started ---
  does not have a library for the current platform.
 Failed to get modified time for: res://addons/godot-git-plugin/git_api.gdnlib.
  does not have a library for the current platform.
 core/project_settings.cpp:209 - Property not found: editor_plugins/enabled

Activity

  1. twaritwaikar commented on Oct 2, 2021

    @twaritwaikar
    Contributor

    The error is probably because of the contents of the release .zip file being present one level deeper than they need to be.

    In your case, try just copying res://addons/godot-git-plugin-v1.2.2/godot-git-plugin to res://addons/godot-git-plugin and then you can delete res://addons/godot-git-plugin-v1.2.2.

  2. twaritwaikar commented on Oct 2, 2021

    @twaritwaikar
    Contributor

    Just added a note of this in the wiki

  3. twaritwaikar commented on Oct 2, 2021

    @twaritwaikar
    Contributor

    Could you confirm that you have downloaded the plugin through the Asset Library?

  4. zwrawr commented on Oct 4, 2021

    @zwrawr
    Author

    I wasn't installing from the Asset Library but from the GitHub releases. When I install the Asset library version I get this error.

    Godot Engine v3.3.4.stable.mono.official (c) 2007-2021 Juan Linietsky, Ariel Manzur & Godot Contributors.
    --- GDScript language server started ---
     Can't open dynamic library: /mnt/slowssd/Repos/godot/LD49/addons/godot-git-plugin/x11/release/libgitapi.so. Error: /mnt/slowssd/Repos/godot/LD49/addons/godot-git-plugin/x11/release/libgitapi.so: undefined symbol: pcre_free
     modules/gdnative/gdnative.cpp:502 - No valid library handle, can't get symbol from GDNative object
     modules/gdnative/nativescript/nativescript.cpp:1482 - No nativescript_init in "res://addons/godot-git-plugin/x11/release/libgitapi.so" found
    
  5. twaritwaikar commented on Oct 4, 2021

    @twaritwaikar
    Contributor

    @zwrawr That looks like the same issue as #83

    Could you try the workaround mentioned therein?

  6. zwrawr commented on Oct 4, 2021

    @zwrawr
    Author

    Looks like I already have it installed

    sudo apt-get install libpcre3
    ...
    libpcre3 is already the newest version (2:8.39-12build1).
  7. twaritwaikar commented on Oct 4, 2021

    @twaritwaikar
    Contributor

    Thanks for confirming. I am marking this as a bug. The fix should be simple because this is now identified as a regression due to missing an option in our compilation flags.

  8. changed the title [-]Does not have libary for the current platform[/-] [+]Does not have libary for the current platform (PCRE)[/+] on Oct 27, 2021
  9. eeclarkjr commented on Dec 12, 2021

    @eeclarkjr

    Zip file downloaded and saved into addons folder (path shown below)
    Get the follow error when trying to enable.

    Unable to load addon script from path: 'res://addons/godot-git-plugin/git_api.gdns' There seems to be an error in the code, please check the syntax.

  10. twaritwaikar commented on Dec 12, 2021

    @twaritwaikar
    Contributor

    @eeclarkjr Any chance you are using the mono build of Godot?

  11. PixsaOJ commented on Dec 16, 2021

    @PixsaOJ

    Godot 3.4 came up.

    I used to fall back to version 1.2.1, and it worked, but now that's not even an option. So I can't really use this plugin anymore. Hopefully will be fixed soon. If you need any debugging or assistance from me, I am glad to help. I am starting new project and don't want to use other GitHub plugin (I use GitLab).

    The problem with 1.2.1 is that when I reopen the project, it's gone.

  12. twaritwaikar commented on Dec 25, 2021

    @twaritwaikar
    Contributor

    @PixsaOJ Godot 3.4 should be working with v1.2.1. The behaviour you see that the VCS needs to be initialized every time you open the project in Godot is actually the correct behaviour from this plugin and has been the behaviour in all v1.x.

    However, we have built a way to fix that in the upcoming v2 with godotengine/godot#53900 and #84 along with new features including network-related ones.

  13. twaritwaikar commented on Jan 14, 2022

    @twaritwaikar
    Contributor

    The Godot 3.5 beta1 is now live. And along with it, we released a v2.0.0 of this plugin which should fix this issue.

  14. twaritwaikar commented on Feb 1, 2022

    @twaritwaikar
    Contributor

    While v2.x fixes this issue, the fix was backported to v1.x as well. The new v1.2.3 should not show any PCRE undefined symbol errors.

  15. fenamori commented on Jan 9, 2023

    @fenamori

    I'm getting the same error as #90 on Godot v3.5.1.stable with plugin version 2.1.0 running on EndeavourOS (Linux kernel 6.1.4-arch1-1).

    Can't open dynamic library: /(project path)/addons/godot-git-plugin/linux/libgitapi.so. Error: /(project path)/addons/godot-git-plugin/linux/libgitapi.so: failed to map segment from shared object
     
    modules/gdnative/gdnative.cpp:510 - No valid library handle, can't get symbol from GDNative object
     
    modules/gdnative/nativescript/nativescript.cpp:1503 - No nativescript_init in "res://addons/godot-git-plugin/linux/libgitapi.so" found
    

    image

  16. krafi-code commented on Nov 4, 2023

    @krafi-code
  17. Calinou commented on Nov 5, 2023

    @Calinou
    Member

    @View-my-Git-Lab-krafi This issue is unrelated to the Godot Git plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions