godot-git-plugin: Cannot open dynamic library
I am using 3.3.4 Mono version, and it seems like the plugin cannot initialize:
ERROR: open_dynamic_library: Can't open dynamic library: /home/prototype/Workspace-MISC/Projects/Games/bile-badger/addons/godot-git-plugin/x11/release/libgitapi.so. Error: /home/prototype/Workspace-MISC/Projects/Games/bile-badger/addons/godot-git-plugin/x11/release/libgitapi.so: undefined symbol: pcre_free
At: drivers/unix/os_unix.cpp:415.
Mono: Log file is: '/home/prototype/.local/share/godot/mono/mono_logs/2021-10-03_10.56.04_496662.log'
ERROR: open_dynamic_library: Can't open dynamic library: /home/prototype/Workspace-MISC/Projects/Games/bile-badger/addons/godot-git-plugin/x11/release/libgitapi.so. Error: /home/prototype/Workspace-MISC/Projects/Games/bile-badger/addons/godot-git-plugin/x11/release/libgitapi.so: undefined symbol: pcre_free
At: drivers/unix/os_unix.cpp:415.
ERROR: get_symbol: No valid library handle, can't get symbol from GDNative object
At: modules/gdnative/gdnative.cpp:502.
ERROR: init_library: No nativescript_init in "res://addons/godot-git-plugin/x11/release/libgitapi.so" found
At: modules/gdnative/nativescript/nativescript.cpp:1482.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (7 by maintainers)
Yes that’s the idea. The plugin is expecting the user system to have a particular PCRE library on Linux and if the user’s system doesn’t have that in the place where the plugin is looking for, they see this error.
We will likely fix it by bundling in that library with the Linux build. A fix is ready however for v2, we will backport it to v1.x soon.
Yes this issue has been identified as a regression after the v1.2.1 release only for linux, so downgrading shall help if v1.2.2 not working for you.
The other branches are currently work in progress, however there way be a change in Godot 3.5 if the new VCS API is merged in.
You can expect master to track Godot 3.x for now. We will have to rework the plugin for Godot 4.0 so later we will add a notice for that and change the branches accordingly.