Skip to content

Bug: dyld[3532]: missing symbol called in sqlite3 #24740

Closed
@marvinhagemeister

Description

Steps to reproduce

  1. Run deno init
  2. Set vendor: true in deno.json
  3. Run deno install --allow-scripts npm:sqlite3
  4. Add main.ts with these contents:
import sqlite3Init from "npm:sqlite3";

const sqlite3 = sqlite3Init.verbose();
const db = new sqlite3.Database(":memory:");

db.serialize(() => {
  db.run("CREATE TABLE lorem (info TEXT)");

  const stmt = db.prepare("INSERT INTO lorem VALUES (?)");
  for (let i = 0; i < 10; i++) {
    stmt.run("Ipsum " + i);
  }
  stmt.finalize();

  db.each("SELECT rowid AS id, info FROM lorem", (err, row) => {
    console.log(row.id + ": " + row.info);
  });
});

db.close();
  1. Run DENO_FUTURE=1 deno run -A main.ts

Output:

$ DENO_FUTURE=1 deno run -A main.ts
dyld[3532]: missing symbol called
[1]    3532 abort      DENO_FUTURE=1 deno run -A 

Version: Deno 1.45.3 (git 7776636 2024-07-26)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions