Issue installing Haproxy on GL-B2200 / Velica

I am having an issue installing Haproxy on GL-B2200 / Velica. It seems an issue with package dependencies. is there any way around

root@GL-B2200:~# opkg install haproxy
Installing haproxy (1.5.16-01) to root…
Downloading http://download.gl-inet.com/releases/packages-3.x/ipq40xx/packages/haproxy_1.5.16-01_ipq806x.ipk
Installing libltdl (2.4-1) to root…
Downloading http://download.gl-inet.com/releases/packages-3.x/ipq40xx/base/libltdl_2.4-1_ipq806x.ipk
Configuring libltdl.
Configuring haproxy.
/usr/sbin/haproxy: can’t load library ‘libssl.so.1.0.0’

Now I can not remove the package to install haproxy-nossl even with

root@GL-B2200:~# opkg remove haproxy
Removing package haproxy from root…
cat: can’t open ‘/var/run/haproxy.pid’: No such file or directory
sh: you need to specify whom to kill
You can force removal of packages with failed prerm scripts with the option:
–force-remove
No packages removed.
Collected errors:

  • pkg_run_script: package “haproxy” prerm script returned status 1.
  • opkg_remove_pkg: not removing package “haproxy”, prerm script failed
    root@GL-B2200:~# opkg remove haproxy --force-remove
    Removing package haproxy from root…
    cat: can’t open ‘/var/run/haproxy.pid’: No such file or directory
    sh: you need to specify whom to kill
    Collected errors:
  • pkg_run_script: package “haproxy” prerm script returned status 1.

It seems a problem of haproxy script.

Maybe just try to install haproxy-nossl?

If still cannot, maybe just reset the firmware and start over.

Actually, I need Haproxy with SSL. Is there a way to find and download the package “Haproxy” with all its dependencies? I think installing it manually will work.

When you have such problems,
/usr/sbin/haproxy: can’t load library ‘libssl.so.1.0.0’
You can check if there is a differnet name of libssl.so.x.x.x and make a symbol link.