jean-airoldie / zeromq-src-rs

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

Cannot link lib sodium #43

Closed bartols closed 6 months ago

bartols commented 6 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 6 months ago

Closed by 061e96615f4e694f7fd98496cdde1a58b4aaf02a.

esemeniuc commented 5 months ago

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

bartols commented 5 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.