Skip to content

Plugin doesn't seem to work on Ubuntu #127

Closed

Description

@NewDefectus

I'm running Ubuntu 22.04 and I tried using the git plugin in my project, but the editor (v3.5) doesn't seem to register it. After adding it to the addons directory I tried setting it up via Project -> Version Control -> Set Up Version Control, but I get the "No VCS plugins are available" error. The "commit" tab on the righthand side of the editor is missing as well.

Activity

  1. twaritwaikar commented on Aug 28, 2022

    @twaritwaikar
    Contributor

    @NewDefectus Do you also see any errors in the Output console or in the terminal (only visible if you start Godot through the terminal)?

  2. NewDefectus commented on Aug 28, 2022

    @NewDefectus
    Author

    Yep, this appears in the terminal (also appears in the output console):

    ERROR: Can't open dynamic library: /home/defectus/PlumberGame/addons/godot-git-plugin/linux/libgitapi.so. Error: libssl.so.1.1: cannot open shared object file: No such file or directory
       at: open_dynamic_library (drivers/unix/os_unix.cpp:412)
    ERROR: No valid library handle, can't get symbol from GDNative object
       at: get_symbol (modules/gdnative/gdnative.cpp:510)
    ERROR: No nativescript_init in "res://addons/godot-git-plugin/linux/libgitapi.so" found
       at: init_library (modules/gdnative/nativescript/nativescript.cpp:1503)
    ERROR: Failed to create plugin script instance.
       at: _load_plugin (editor/plugins/version_control_editor_plugin.cpp:179)
    
  3. twaritwaikar commented on Aug 28, 2022

    @twaritwaikar
    Contributor

    Does running sudo apt-get install libssl-dev help? I think we need to check if OpenSSL is being loaded dynamically or linked statically on Linux.

  4. NewDefectus commented on Aug 28, 2022

    @NewDefectus
    Author

    Nope, I'm getting the same error as before

  5. mewn commented on Sep 15, 2022

    @mewn

    Same issue on my end.
    Ubuntu 22.04 LTS ship OpenSSL 3.0.2 so no libssl.so.1.1 and libcrypto.so.1.1
    I took the libs from an installed snap and copied it over, it then worked without issue.

    would it be possible to ship libssl.so.1.1 and libcrypto.so.1.1 with the plugin instead ?

    mewn@MBP-Ubuntu:~/Project/Godot/3dun/addons/godot-git-plugin/linux$ ldd libgitapi.so 
    	linux-vdso.so.1 (0x00007ffe15dfb000)
    	libssl.so.1.1 => not found
    	libcrypto.so.1.1 => not found
    	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f80f87d4000)
    	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f80f918a000)
    	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f80f916a000)
    	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f80f85ac000)
    	/lib64/ld-linux-x86-64.so.2 (0x00007f80f9285000)
    mewn@MBP-Ubuntu:~/Project/Godot/3dun/addons/godot-git-plugin/linux$ 
    
  6. added a commit that references this issue on Dec 20, 2022
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