jean-airoldie / zeromq-src-rs

Source code and logic to build ZeroMQ from source
MIT License
11 stars 14 forks source link

Cannot link lib sodium #43

Closed bartols closed 4 months ago

bartols commented 4 months ago

Still problem linking libsodium, @jean-airoldie changes the lib.rs: println!( "cargo:rustc-link-search={:?}", libsodium.lib_dir().display() ); and it doesn't work.

For us the correct changes is: println!( "cargo:rustc-link-search={}", libsodium.lib_dir().display() ); in that case everything is fine (from {:?} to {})

jean-airoldie commented 4 months ago

Closed by 061e96615f4e694f7fd98496cdde1a58b4aaf02a.

esemeniuc commented 4 months ago

@bartols i'm still seeing the same error with your master branch. what compile flags do you use?

bartols commented 4 months ago

@bartols i'm still seeing the same error with your master branch. what compile flags do you use?

I enabled features = ["libsodium"], verify that libsodium.lib_dir() has the correct path.