rust
System library not found by pkg-config during build
package.*was not found in the pkg-config search path
Fixes
- 1.Install the system development package (e.g., apt install libssl-dev)
- 2.Set PKG_CONFIG_PATH to include the library's .pc file directory
- 3.Use vendored feature flag if available (e.g., openssl = { features = ["vendored"] })
cargobuildnative
Related Errors
rust3 fixes
Future not Send due to non-Send type
future cannot be sent between threads safely.*Send
- •Use Arc<Mutex<T>> instead of Rc<RefCell<T>>
- •Add Send bound or spawn_local for !Send futures
rust3 fixes
Future requires Unpin but type doesn't implement it
cannot be unpinned.*Unpin.*is not implemented
- •Use Box::pin() to pin the future on heap
- •Use pin_mut! macro for stack pinning
rust3 fixes
Type doesn't implement Future trait
the trait.*Future.*is not implemented for
- •Ensure async fn returns impl Future
- •Use .await on async calls