-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unable to link under Linux #48
Comments
Did your Linux executable program project add the |
I was following the documentation to the letter. Are there any options I should put? |
Try adding this line to your
If that doesn't work, try using the |
This improved the situation, but I have another problem now:
|
Try to use the libsqlite3.a to replace your libsqlite3.so under the same directory. |
Hello First of all, asking to link statically shouldn't be a proper solution. There are reasons why dynamic libraries are present. Especially if we override system files, like Having said that, I found a solution which probably should be documented somewhere. In order for linking to work, linker should be more relaxed. So instead of only Final list of parameters is: linkerOpts += mutableListOf("-lsqlite3", "-L/usr/lib", "--allow-shlib-undefined") |
OK, thank you. That's good. I will modify related documents. |
Hello
I am trying to use SQLlin in Kotlin/Native Linux x64 platform.
Unfortunately it breaks with an error:
plus a huge list of unresolved references to sqlite functions.
Of course, I do have sqlite installed
so the problem must be something else.
Any idea?
The text was updated successfully, but these errors were encountered: