nushell: Build failed due to multiple definitions
Describe the bug
Hello,
I am no longer able to build nushell. The issue started for me with v0.62.0 (or possibly v0.61.0 - I did not try this version). I successfully built v0.60.0.
As shown in the screenshot, I am getting multiple definitions of “__imp_atan”. It looks like one is from an msvc library and the other is from the gcc lib my installation of Rust is configured to use.
Is this maybe due to the static linking of OpenSSL combined with the msvc / gcc mismatch?
How to reproduce
- Install Rust (Cargo v1.61.0) on Windows 10 with gcc as the compiler (MinGW-W64 GCC-8.1.0 -> x86_64-posix-seh)
- Run
cargo install nu --features=extrafrom a Windows cmd shell
Expected behavior
I expected cargo to build and install v063.0.
Screenshots

Configuration
C:\WINDOWS\System32 > version | transpose key value | to md --pretty
| key | value |
|---|---|
| version | 0.60.0 |
| build_os | windows-x86_64 |
| rust_version | rustc 1.59.0 (9d1b2106e 2022-02-23) |
| rust_channel | stable-x86_64-pc-windows-gnu |
| cargo_version | cargo 1.59.0 (49d8809dc 2022-02-10) |
| pkg_version | 0.60.0 |
| build_time | 2022-03-31 11:52:39 -07:00 |
| build_rust_channel | release |
| features | dataframe, default, trash, which, zip |
| installed_plugins |
Additional context
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (5 by maintainers)
whoop sorry, my b. Just downloaded cargo but using an old rustc