du-cki / comet

A blazingly fast CDN node written in rust.
MIT License
6 stars 1 forks source link

Not starting on Ubuntu/Debian #3

Closed mambucodev closed 1 month ago

mambucodev commented 3 months ago

I was trying to dockerize your repo, when I noticed that it gave me an error: https://paste.owlhosting.cloud/pufokugade.properties I tried to install openssl and libssl-dev with sudo apt-get install openssl libssl-dev -y as it says but nothing changed. also tried to change Env Variables but nothing changes again. I tried it on a local linux machine too and nothing changed again, what's the issue?

mambucodev commented 3 months ago

I also have some basic knowledge of Rust so I tried to eventually read the code and try if there were any issues but still, nothing changed.

Hadock-is-ok commented 3 months ago

try installing pkg-config, looking online for the same error brings up a lot of SO answers installing that package. see: https://stackoverflow.com/questions/65553557/why-rust-is-failing-to-build-command-for-openssl-sys-v0-9-60-even-after-local-in

Hadock-is-ok commented 1 month ago

@mambucodev did you ever fix the issue?

mambucodev commented 1 month ago

@Hadock-is-ok if you remember I texted you on discord and I told you I fixed it just by compiling the file on my machine and uploading it to docker. It's an issue that rust has while compiling OpenSSL, so it looks like it's not related to your package at all.

mambucodev commented 1 month ago

maybe trying updating packages, espacially openssl, would fix the issue. they probably fixed it during this whole time

Hadock-is-ok commented 1 month ago

@Hadock-is-ok if you remember I texted you on discord and I told you I fixed it just by compiling the file on my machine and uploading it to docker. It's an issue that rust has while compiling OpenSSL, so it looks like it's not related to your package at all.

I actually don't, but I'm glad you got it fixed!