Comment by ๐Ÿš€ stack

Re: "Help building gemserv please"

In: s/rust_software

I installed and reinstalled openssl-dev (Ubuntu), and even hand- compiled openssl. It took forever and I was still getting variations of similar errors. I tried to create symlinks to match what I could deduce gemserv wants but never got it right.

๐Ÿš€ stack [OP]

2025-09-02 ยท 8 months ago

1 Later Comment

๐Ÿ˜บ vzsg ยท 2025-09-02 at 17:12:

I think you're getting these errors because of the archaic versions of dependencies locked in the project.

For example, openssl 0.10.32 was released in 2020, and it only supports OpenSSL versions 1.0.1-1.1.1, which have been removed from circulation long ago.

It might be possible to upgrade everything to get it running on modern systems. But there's a quick and dirty and insecure solution: you can tell Cargo to vendor its own openssl by editing Cargo.toml, like:

At least, that made it compile for me. It started complaining about a configuration file.

PS: I don't know much about Rust either :)

Also, hi everyone.

---

Actually, updating dependencies seems to work fine. Ignore what I said in the previous section, and instead try running "cargo update" followed by "cargo run".

The new openssl dep will be compatible with 3.x on Ubuntu.

Original Post

๐ŸŒ’ s/rust_software

๐Ÿš€ stack:

Help building gemserv please โ€” I know nothing about rust, but am trying to get gemserv to work on my aws instance. [https link] When I try to build it with 'cargo build --release', I get a bunch of openssl -related errors: [preformatted] I tried everything I can think of as far as the environment variables go, /usr/local/ssl was just the latest attempt... I am on ubuntu 24.04 with latest openssl from the distro, btw. I did try to hand-compile that monstrosity, but went back to stock. Any help...

๐Ÿ’ฌ 4 comments ยท 2025-09-01 ยท 8 months ago