fernandobatels / rsfbclient

Rust Firebird Client
MIT License
76 stars 11 forks source link

client library is needed with pure_rust? #144

Closed awunnenb closed 1 year ago

awunnenb commented 1 year ago

Why is the libfbclient needed when using rsfbclient::builder_pure_rust

Linux Debian: ./rsfbclient-test: error while loading shared libraries: libfbclient.so.2: cannot open shared object file: No such file or directory

Is it possible to use rsfbclient on the macOS Intel with pure_rust?

Error message when compiling: = note: ld: library not found for -llibfbclient clang: error: linker command failed with exit code 1

jairinhohw commented 1 year ago

You need to disable the default features. Example:

rsfbclient = { version = "0.23.0", default_features = false, features = ["pure_rust"] }
awunnenb commented 1 year ago

thank you very much!!!