Nextomics / NextPolish2

Repeat-aware polishing genomes assembled using HiFi long reads
Other
63 stars 3 forks source link

Installed issue #9

Closed JhinAir closed 1 year ago

JhinAir commented 1 year ago

Hi,

I got the error: failed to run custom build command for libz-sys v1.1.12, when run installion with 'cargo build --release'. image Do you have any ideas? Thank you!

Jing

moold commented 1 year ago

It seems that this is a bug caused by libz-sys, but it has been fixed, so you can re-download NextPolish2 and reinstall it.

JhinAir commented 1 year ago

Hi, I was using the latest v0.2.0, and it got this error. I tried again with the same error. More hints please? thank you.

moold commented 1 year ago

Did you delete the entire NextPolish2 directory and download it again?

JhinAir commented 1 year ago

yes, I have.

moold commented 1 year ago

I think you can try adding libz-sys = "1.1.0" to the next line of [dependencies] from the file Cargo.toml file. If it still reports errors, you can change 1.1.0 to other version.

BTW: I'm not sure if it works, but you can have a try