kud1ing / rucaja

Calling the JVM from Rust via JNI
https://docs.rs/rucaja
Apache License 2.0
31 stars 7 forks source link

Broken linking since rustc 1.17.0-beta.2/cargo 0.18.0-beta #12

Closed kud1ing closed 7 years ago

kud1ing commented 7 years ago
error while loading shared libraries:
libjvm.so: cannot open shared object file: No such file or directory
treyzania commented 7 years ago

Perhaps you should change your approach to the dynamic linking: find the dynamic libraries at runtime instead of locking it in at build time.

The crate rust-libloading looks pretty good, but you'd have to change your approach to interacting with the JVM and write a decent amount of wrapper code.

kud1ing commented 7 years ago

Fixed by #15