littledivy / deno_audio

Audio playback library for Deno
36 stars 9 forks source link

undefined symbol: init_deno_bindgen #15

Open OoDeLally opened 10 months ago

OoDeLally commented 10 months ago

Trying my luck with this package... I've installed the prerequisites. Then:

▶ deno_bindgen --release           
   Compiling proc-macro2 v1.0.76
   Compiling unicode-ident v1.0.12
   Compiling libc v0.2.152
   Compiling serde v1.0.195
   Compiling memchr v2.7.1
   Compiling serde_json v1.0.111
   Compiling pkg-config v0.3.28
   Compiling thiserror v1.0.56
   Compiling regex-syntax v0.8.2
   Compiling quote v1.0.35
   Compiling alsa-sys v0.3.1
   Compiling syn v2.0.48
   Compiling aho-corasick v1.1.2
   Compiling nix v0.15.0
   Compiling cfg-if v0.1.10
   Compiling bitflags v1.3.2
   Compiling void v1.0.2
   Compiling syn v1.0.109
   Compiling cc v1.0.83
   Compiling regex-automata v0.4.3
   Compiling minimp3-sys v0.3.2
   Compiling lazy_static v1.4.0
   Compiling cpal v0.12.1
   Compiling ryu v1.0.16
   Compiling tinyvec_macros v0.1.1
   Compiling byteorder v1.5.0
   Compiling itoa v1.0.10
   Compiling tinyvec v1.6.0
   Compiling ogg v0.8.0
   Compiling regex v1.10.2
   Compiling alsa v0.4.3
   Compiling Inflector v0.11.4
   Compiling slice-deque v0.3.0
   Compiling lewton v0.10.2
   Compiling hound v3.5.1
   Compiling claxon v0.4.3
   Compiling serde_derive v1.0.195
   Compiling thiserror-impl v1.0.56
   Compiling minimp3 v0.5.1
   Compiling rodio v0.12.0
   Compiling deno_bindgen_macro v0.5.1
   Compiling deno_bindgen v0.5.1
   Compiling deno_audio v0.1.0 (/home/me/deno_audio-main)
    Finished release [optimized] target(s) in 10.75s
Initializing deno_audio
Error: Custom { kind: Other, error: "failed to load library: Could not obtain symbol from the library: /home/me/deno_audio-main/target/release/libdeno_audio.so: undefined symbol: init_deno_bindgen" }

Anything I might have forgotten? Unfortunately searching init_deno_bindgen on google returns zero result... Where does this come from?

Using the latest version (0.2.0) of deno_audio, with a freshly installed rust, latest deno_bindgen_cli 0.1.0, on Ubuntu 23.04.