-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encountering error on using godot sqlite: No nativescript_init in "res://addons/godot-sqlite/bin/osx/libgdsqlite.dylib" found #122
Comments
I just wanted to add that i am using a pretty old Mac Book air laptop. Will that make any difference? |
Hi @nafey ! The fact that you are using an older version of a OSX might be the cause of this issue. As it is an older device, I imagine that it is an Intel-based computer (instead of a newer device which uses Apple silicon). In the following weeks, I'll try to find some time to set up some unit testing such that I can determine the cause. |
@2shady4u Thank you for your comment. You are correct it is an older intel based mac (Intel Core i5). I will eagerly await updates on this issue. |
also, in my project I do this:
whereas you do |
I can make a pr for unit testing? |
Hi @feefladder ! You are of course free to do this 😄 And it should be integrated into Github Actions. An example can be found here: For now it would be sufficient to only have a single unit test, which just calls the Unfortunately, at the time of writing, I don't have sufficient free time to do this myself 😢 |
Environment:
Issue description:
Unable to run Godot SQLite. The SQLite.new() function fails.
Steps to reproduce:
res://addons/godot-sqlite/godot-sqlite-wrapper.gd:119 - at function: get_last_insert_rowid
In the error tab:
E 0:00:00.364 open_dynamic_library: Can't open dynamic library: /Users/nafey/sqlite/addons/godot-sqlite/bin/osx/libgdsqlite.dylib, error: dlopen(/Users/nafey/sqlite/addons/godot-sqlite/bin/osx/libgdsqlite.dylib, 2): Symbol not found: ____chkstk_darwin
Referenced from: /Users/nafey/sqlite/addons/godot-sqlite/bin/osx/libgdsqlite.dylib
Expected in: /usr/lib/libSystem.B.dylib
in /Users/nafey/sqlite/addons/godot-sqlite/bin/osx/libgdsqlite.dylib.
<C++ Error> Condition "!p_library_handle" is true. Returned: ERR_CANT_OPEN
<C++ Source> platform/osx/os_osx.mm:1956 @ open_dynamic_library()
E 0:00:00.364 get_symbol: No valid library handle, can't get symbol from GDNative object
<C++ Source> modules/gdnative/gdnative.cpp:510 @ get_symbol()
E 0:00:00.364 init_library: No nativescript_init in "res://addons/godot-sqlite/bin/osx/libgdsqlite.dylib" found
<C++ Source> modules/gdnative/nativescript/nativescript.cpp:1503 @ init_library()
Minimal reproduction project:
Same as above
Additional context
The text was updated successfully, but these errors were encountered: