Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Purge luaossl Luarocks install
# In case your luaossl rock installation in LuaRocks gets corrupted and you can't remove it due to missing files, do the following:
sudo mkdir -p /usr/local/share/lua/5.1/openssl/x509
sudo mkdir -p /usr/local/share/lua/5.1/openssl/ocsp
sudo mkdir -p /usr/local/share/lua/5.1/openssl/ssl
sudo mkdir -p /usr/local/lib/lua/5.1
sudo touch /usr/local/share/lua/5.1/openssl/x509.lua
sudo touch /usr/local/share/lua/5.1/openssl/pkcs12.lua
sudo touch /usr/local/share/lua/5.1/openssl/pubkey.lua
sudo touch /usr/local/share/lua/5.1/openssl/des.lua
sudo touch /usr/local/share/lua/5.1/openssl/rand.lua
sudo touch /usr/local/share/lua/5.1/openssl/x509/crl.lua
sudo touch /usr/local/share/lua/5.1/openssl/x509/name.lua
sudo touch /usr/local/share/lua/5.1/openssl/x509/altname.lua
sudo touch /usr/local/share/lua/5.1/openssl/x509/extension.lua
sudo touch /usr/local/share/lua/5.1/openssl/x509/verify_param.lua
sudo touch /usr/local/share/lua/5.1/openssl/x509/csr.lua
sudo touch /usr/local/share/lua/5.1/openssl/x509/store.lua
sudo touch /usr/local/share/lua/5.1/openssl/x509/chain.lua
sudo touch /usr/local/share/lua/5.1/openssl/ocsp/basic.lua
sudo touch /usr/local/share/lua/5.1/openssl/ocsp/response.lua
sudo touch /usr/local/share/lua/5.1/openssl/ssl/context.lua
sudo touch /usr/local/share/lua/5.1/openssl/ssl.lua
sudo touch /usr/local/share/lua/5.1/openssl/bignum.lua
sudo touch /usr/local/share/lua/5.1/openssl/pkey.lua
sudo touch /usr/local/share/lua/5.1/openssl/digest.lua
sudo touch /usr/local/share/lua/5.1/openssl/cipher.lua
sudo touch /usr/local/share/lua/5.1/openssl/hmac.lua
sudo touch /usr/local/share/lua/5.1/openssl/auxlib.lua
sudo touch /usr/local/share/lua/5.1/openssl.lua
sudo touch /usr/local/lib/lua/5.1/_openssl.so
sudo luarocks remove luaossl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.