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
I'm getting the following link error due to the duplicate symbol when linking a binary with link-time optimizations:
Compiling neard v0.0.0 (/home/nikurt/nearcore-rdb-3/neard)
warning: Linking globals named 'bz_internal_error': symbol multiply defined!
error: failed to load bc of "librocksdb_sys-33c86cdce183a558.librocksdb_sys.8e9e6b3e-cgu.0.rcgu.o":
warning: `neard` (bin "neard") generated 1 warning
error: could not compile `neard` due to previous error; 1 warning emitted
make: *** [Makefile:34: neard-release] Error 101
Is it possible to release a new version of the rocksdb crate in order to accommodate this change? The current version available on crates.io is 0.18.0 and it doesn't have all recent changes including this one. cc @aleksuss
I'm getting the following link error due to the duplicate symbol when linking a binary with link-time optimizations:
Symbols are defined here:
librocksdb-sys
:rust-rocksdb/librocksdb-sys/src/lib.rs
Line 32 in 180e65e
bzip2-sys
: https://github.com/alexcrichton/bzip2-rs/blob/016e18155ef7c05983ea244cae1344c5b68defd8/bzip2-sys/lib.rs#L73A workaround is to disable feature
bzip2
of craterocksdb
.Link-time optimizations defined in my
Makefile
as follows:The text was updated successfully, but these errors were encountered: