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

Step to build in centos #27

Open
manjeshpv opened this issue Dec 12, 2016 · 1 comment
Open

Step to build in centos #27

manjeshpv opened this issue Dec 12, 2016 · 1 comment

Comments

@manjeshpv
Copy link

sudo yum install wget curl unzip gcc-c++ pcre-devel zlib-devel
mkdir ~/custom-nginx
cd ~/custom-nginx
# tried 1.8.0 also
sudo wget http://nginx.org/download/nginx-1.6.2.tar.gz
sudo tar zxvf nginx-1.6.2.tar.gz
ls ~/custom-nginx
cd nginx-1.8.0/src/http/modules/
sudo wget https://github.com/zebrafishlabs/nginx-statsd/archive/master.tar.gz
sudo tar xvf master.tar.gz
sudo rm master.tar.gz
sudo ./configure --add-module=/home/manjeshpv/custom-nginx/nginx-1.8.0/src/http/modules/ngx_pagespeed/ --user=nobody --group=nobody --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid
sudo make

I got error while
https://gist.github.com/manjeshpv/c1e39ecf83ad9b6fc478c16d1184d2e5

@manjeshpv
Copy link
Author

objs/addon/nginx-statsd/ngx_http_statsd.o \
objs/ngx_modules.o \
-ldl -lpthread -lcrypt -lssl -lpcre -lz \
-Wl,-E
/bin/ld: cannot find -lssl
collect2: error: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/home/user/custom-nginx/nginx-1.9.11'
make: *** [build] Error 2

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

1 participant