ysbaddaden / prax.cr

Rack proxy server for development (Crystal port)
Other
152 stars 18 forks source link

prax-binary: error while loading shared libraries: libevent-2.0.so.5 #87

Closed scope2229 closed 5 years ago

scope2229 commented 5 years ago

After installing Prax.cr im getting this error

/opt/prax/bin/prax-binary: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory

I thought it might be something simple to solve with

$ sudo apt install libevent-dev

This failed though and after removing prax and reinstalling its failing again.

anyone experienced this before

XUbuntu 18.04

ysbaddaden commented 5 years ago

The package was built on Ubuntu 14.04 and is incompatible with newer Ubuntu versions. Please build Prax from source.

scope2229 commented 5 years ago

Thanks compiling fixed this.

botandrose commented 4 years ago

Ran into this today. 14.04 is EOL. Any plans to support 16.04, 18.04, and/or 20.04?

scope2229 commented 4 years ago

it works fine in 16.04 and 18.04. You need to build from source though. The wiki is pretty detailed on how to install from source. For 20 I haven't looked so i couldnt say but i cant see why it wouldnt work.

Just remember you need crystal installed before you can compile.

botandrose commented 4 years ago

Thanks for the quick response! And my apologies, my question wasn't very clear. I meant to ask if there were any plans to release .debs for currently-supported Ubuntu LTS versions.

scope2229 commented 4 years ago

This I can't answer sorry but im sure if we pulled together to create one, Yasbaddaden could then upload to the necessary locations.

scope2229 commented 4 years ago

@botandrose It does look like the makefile is able to create a deb package for you to then install that way. but i've not tested it yet.