Giter Site home page Giter Site logo

go-sqlite3-dynamic's Introduction

Hi there ๐Ÿ‘‹

go-sqlite3-dynamic's People

Contributors

iamacarpet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

go-sqlite3-dynamic's Issues

MacOS support: undefined symbols at runtime

Hi,

Thank you for you work, it works great on Windows 10.

On my other computer (MacOS) I got those errors at runtime and go get ./...

# github.com/iamacarpet/go-sqlite3-dynamic
../../../../go/pkg/mod/github.com/iamacarpet/[email protected]/sqlite3.go:23:2: undefined: registerLibrary
../../../../go/pkg/mod/github.com/iamacarpet/[email protected]/sqlite3.go:29:9: undefined: sqlite3_libversion
../../../../go/pkg/mod/github.com/iamacarpet/[email protected]/sqlite3.go:29:31: undefined: sqlite3_libversion_number
../../../../go/pkg/mod/github.com/iamacarpet/[email protected]/sqlite3.go:29:60: undefined: sqlite3_sourceid
../../../../go/pkg/mod/github.com/iamacarpet/[email protected]/sqlite3.go:33:9: undefined: sqlite3_errstr
../../../../go/pkg/mod/github.com/iamacarpet/[email protected]/sqlite3.go:45:5: undefined: sqlite3_threadsafe
../../../../go/pkg/mod/github.com/iamacarpet/[email protected]/sqlite3.go:100:8: undefined: sqlite3_open_v2
../../../../go/pkg/mod/github.com/iamacarpet/[email protected]/sqlite3.go:109:7: undefined: sqlite3_busy_timeout
../../../../go/pkg/mod/github.com/iamacarpet/[email protected]/sqlite3_conn.go:126:17: undefined: sqlite3_prepare_v2
../../../../go/pkg/mod/github.com/iamacarpet/[email protected]/sqlite3_conn.go:138:9: undefined: sqlite3_get_autocommit
../../../../go/pkg/mod/github.com/iamacarpet/[email protected]/sqlite3_conn.go:138:9: too many errors

Fails with error in dependency

Running any code with this lib causes the following error message:

# command-line-arguments
runtime.pclntab: relocation target github.com/notti/nocgo/internal/ffi.cgocall.args_stackmap not defined

Tested on go1.16.7 and go1.15.15 in either current Arch Linux and Ubuntu 20.04 LTS. I'm very sure this worked since a few weeks, because I'm frequently compiling a project which imports your lib.

SQL Logic Error on Linux

The Linux integration isn't working.

We are no longer getting segfault from nocgo, however now SQLite is returning SQL Logic Error on the test queries.

It feels like this is related to the passing of strings, but I haven't had time to investigate yet.

This ticket is to act as a placeholder until I can investigate further.

Regards,
iamacarpet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.