Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Luacrypto #3

Closed
altiport opened this issue May 3, 2020 · 4 comments
Closed

Error with Luacrypto #3

altiport opened this issue May 3, 2020 · 4 comments

Comments

@altiport
Copy link

altiport commented May 3, 2020

I get the following error in Ubuntu 18.04 .

Installing https://luarocks.org/luacrypto-0.3.2-2.src.rock
gcc -O2 -fPIC -I/usr/include/lua5.2 -c src/lcrypto.c -o src/lcrypto.o -I/usr/include
sh: 1: gcc: not found
Error: Build error: Failed compiling object src/lcrypto.o

@christiancuri
Copy link
Owner

Try install gcc, is strange, because ubuntu already have gcc, but, try install using

Join in sudo user
sudo su

After join, run the following command

apt-get install gcc -y

@christiancuri
Copy link
Owner

To prevent this error, i will go update the doc installing the necessary dependencies like gcc and unzip

@christiancuri
Copy link
Owner

I just updated the doc to prevent this error.

@MobtgZhang
Copy link

The problem happened as in my computer,the operating is ubuntu19.10, and I bagged to ask for advice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants