You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cc -o zpipe zpipe.c target/debug/deps/liblibz_rs_sys.so
(Funnily enough, because cargo doesn't set a SONAME on cdylib, this links the library such that running the resulting executable works without a LD_LIBRARY_PATH)
Run the program:
$ ./zpipe
zpipe: zlib version mismatch!
The text was updated successfully, but these errors were encountered:
Build the cdylib:
Download an example program using zlib in C:
Compile and link against libz-rs-sys:
(Funnily enough, because cargo doesn't set a SONAME on cdylib, this links the library such that running the resulting executable works without a LD_LIBRARY_PATH)
Run the program:
The text was updated successfully, but these errors were encountered: