Skip to content

Ubuntu 18.04lts Godot 3.2.1 Plugin Fail #22

Closed

Description

@Alderin1974

Greetings,
I'm getting these errors when I follow the installation steps. It is similar to issue #11 but not exact. Please let me know if you need more details.

 Can't open dynamic library: /home/alderin/Dropbox/Code/Godot/AldVenture/bin/x11/libgitapi.so. Error: /home/alderin/Dropbox/Code/Godot/AldVenture/bin/x11/libgitapi.so: undefined symbol: deflateInit_
 modules/gdnative/gdnative.cpp:483 - No valid library handle, can't get symbol from GDNative object
 modules/gdnative/nativescript/nativescript.cpp:1506 - No nativescript_init in "res://bin/x11/libgitapi.so" found

Activity

  1. twaritwaikar commented on Mar 28, 2020

    @twaritwaikar
    Contributor

    I think this is coming from the same reason as the issue you linked above. Zlib is the dependency which is not found while loading the plugin, however, this is not the case for all Ubuntu systems, which is why this is getting difficult to track.

    I will keep this issue open because the error is quite different.

  2. Alderin1974 commented on Mar 28, 2020

    @Alderin1974
    Author

    Digging into zlib, I'm finding a ton of things I've installed come with their own zlib.so or similar. Each kernel seems to have a version, then python and ruby have their own versions, pkgconfig has its own version. It might be easiest to just include a version of zlib for the plugin.
    I also downloaded and built libgit2 locally, but it didn't provide the .so referenced.

  3. twaritwaikar commented on Mar 29, 2020

    @twaritwaikar
    Contributor
  4. Alderin1974 commented on Mar 29, 2020

    @Alderin1974
    Author

    Did you mean to say that Libgit2 didn't build with its own Zlib version?

    No, the libgitapi.so that the plugin has. I thought that if I could compile that on my system and drop it in that might solve the issue, but I didn't find a simple way to do that.

  5. twaritwaikar commented on Mar 30, 2020

    @twaritwaikar
    Contributor
  6. twaritwaikar commented on Mar 30, 2020

    @twaritwaikar
    Contributor

    Found the issue. Libgit2 has been compiled without the bundled Zlib, which means that it relies on the system to provide a libzlib.so in linux and likewise on other platforms.
    Fixing this is merely recompiling libgit2 and flipping the switch: USE_BUNDLED_ZLIB

  7. twaritwaikar commented on Apr 10, 2020

    @twaritwaikar
    Contributor

    I recommend trying with the newer release v1.2: https://github.com/godotengine/godot-git-plugin/releases/tag/v1.2
    Feel free to comment here if any issues occur.

  8. twaritwaikar commented on Apr 12, 2020

    @twaritwaikar
    Contributor

    Similar issues have now been fixed. This should also be fixed with the latest release. Closing until further reports come in.

  9. Alderin1974 commented on Apr 13, 2020

    @Alderin1974
    Author

    Sorry for the delayed response, but as a confirmation: Yes, it is fixed now. Thanks!

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