You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be happening because of the Libgit2 binaries were built from an Ubuntu 18.10 system. Do you encounter this error with other GDNative plugins too?
Small update on the issue. I have two versions of Godot - normal and C# Mono build, and issue only persists in normal version. Mono build of Godot initializes with no issues.
That could indicate a regression. I haven't been able to reproduce this yet though. I will try if mixing release/debug builds or the C# build does anything different
I am sure this was an issue of mixing debug and release modes. I segregated the builds properly this time and since I have not been able to reproduce this.
This will be reflected in the next release. Closing this for now
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
Hi there,
I'm on Pop!OS 19.10 and compiled from source because the last release didn't work. Now I get the following errors when godot tries to load the plugin:
ERROR: open_dynamic_library: Can't open dynamic library: /mnt/ramdisk/Test/bin/x11/release/libgitapi.so. Error: /mnt/ramdisk/Test/bin/x11/release/libgitapi.so: failed to map segment from shared object
At: drivers/unix/os_unix.cpp:424.
ERROR: get_symbol: No valid library handle, can't get symbol from GDNative object
At: modules/gdnative/gdnative.cpp:483.
ERROR: init_library: No nativescript_init in "res://bin/x11/release/libgitapi.so" found
At: modules/gdnative/nativescript/nativescript.cpp:1506.
ERROR: get_symbol: No valid library handle, can't get symbol from GDNative object
At: modules/gdnative/gdnative.cpp:483.
On Wed, Apr 8, 2020, 01:20 RealTehreal ***@***.***> wrote:
Hi there,
I'm on Pop!OS 19.10 and compiled from source because the last release
didn't work. Now I get the following errors when godot tries to load the
plugin:
ERROR: open_dynamic_library: Can't open dynamic library:
/mnt/ramdisk/Test/bin/x11/release/libgitapi.so. Error:
/mnt/ramdisk/Test/bin/x11/release/libgitapi.so: failed to map segment from
shared object At: drivers/unix/os_unix.cpp:424. ERROR: get_symbol: No valid
library handle, can't get symbol from GDNative object At:
modules/gdnative/gdnative.cpp:483. ERROR: init_library: No
nativescript_init in "res://bin/x11/release/libgitapi.so" found At:
modules/gdnative/nativescript/nativescript.cpp:1506. ERROR: get_symbol: No
valid library handle, can't get symbol from GDNative object At:
modules/gdnative/gdnative.cpp:483.
Some help would be very appreciated.
Greets
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHSUAFC265JVW3QMIVDS6SDRLN7ZTANCNFSM4KOITLIQ>
.
It works now. But the issue was on my side.
First it didn't work, using the latest release. Then after more digging I found out what the issue was:
No exec permissions on the drive with the libgitapi.so
In my case, I was running it on a ramdrive. After remounting with exec permissions
(sudo mount -o remount,exec /mnt/ramdisk)
it worked.
Thanks for enduring me :-)
That's good to know. That might have been the issue, however, I fixed some other issues that might get in the way anyway. Closing till newer reports come in.
Activity
twaritwaikar commentedon Feb 1, 2020
This might be happening because of the Libgit2 binaries were built from an Ubuntu 18.10 system. Do you encounter this error with other GDNative plugins too?
twaritwaikar commentedon Feb 2, 2020
Might be related to this godotengine/godot#20765
arigoru commentedon Feb 2, 2020
Ubuntu 18.04 LTS here, same issue:
arigoru commentedon Feb 3, 2020
Small update on the issue. I have two versions of Godot - normal and C# Mono build, and issue only persists in normal version. Mono build of Godot initializes with no issues.
twaritwaikar commentedon Feb 5, 2020
That could indicate a regression. I haven't been able to reproduce this yet though. I will try if mixing release/debug builds or the C# build does anything different
twaritwaikar commentedon Feb 14, 2020
Finally reproduced this, but on my Windows system. It believe this is mostly related to mixing release and debug builds. A fix is in the works.
twaritwaikar commentedon Feb 14, 2020
I am sure this was an issue of mixing debug and release modes. I segregated the builds properly this time and since I have not been able to reproduce this.
This will be reflected in the next release. Closing this for now
twaritwaikar commentedon Feb 17, 2020
This was found happening in Windows again
kforney commentedon Mar 7, 2020
Also occurring on my Arch Linux system:
lennartkloock commentedon Mar 7, 2020
Same for me on Ubuntu 19.10...
twaritwaikar commentedon Mar 30, 2020
Quoting from here
twaritwaikar commentedon Mar 30, 2020
Should be fixed on master. Will close with the next release
RealTehreal commentedon Apr 7, 2020
Hi there,
I'm on Pop!OS 19.10 and compiled from source because the last release didn't work. Now I get the following errors when godot tries to load the plugin:
Some help would be very appreciated.
Greets
twaritwaikar commentedon Apr 7, 2020
RealTehreal commentedon Apr 8, 2020
Godot_v3.2.1-stable_x11.64
twaritwaikar commentedon Apr 10, 2020
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.
RealTehreal commentedon Apr 10, 2020
It works now. But the issue was on my side.
First it didn't work, using the latest release. Then after more digging I found out what the issue was:
No exec permissions on the drive with the libgitapi.so
In my case, I was running it on a ramdrive. After remounting with exec permissions
(
sudo mount -o remount,exec /mnt/ramdisk)it worked.
Thanks for enduring me :-)
twaritwaikar commentedon Apr 10, 2020
That's good to know. That might have been the issue, however, I fixed some other issues that might get in the way anyway. Closing till newer reports come in.