I'm tring to install nginx-1.10.3-1.el6.ngx.x86_64 on redhat7 64 bit.When I runsudo rpm -Uvh http://nginx.org/packages/rhel/6/x86_64/RPMS/nginx-1.10.3-1.el6.ngx.x86_64.rpmI get this error:Error: Package: nginx-1.10.3-1.el6.ngx.x86_64 (nginx)           Requires: libpcre.so.0()(64bit)Here is what I tried.sudo yum install pcre pcre-devel -ysudo ln -s /usr/lib64/libpcre.so.1 /usr/lib64/libpcre.so.0export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/lib64sudo ldconfigsudo ldconfig -p|grep pcrelibpcre32.so.0 (libc6,x86-64) => /lib64/libpcre32.so.0libpcre32.so (libc6,x86-64) => /lib64/libpcre32.solibpcre16.so.0 (libc6,x86-64) => /lib64/libpcre16.so.0libpcre16.so (libc6,x86-64) => /lib64/libpcre16.solibpcreposix.so.0 (libc6,x86-64) => /lib64/libpcreposix.so.0libpcreposix.so (libc6,x86-64) => /lib64/libpcreposix.solibpcrecpp.so.0 (libc6,x86-64) => /lib64/libpcrecpp.so.0libpcrecpp.so (libc6,x86-64) => /lib64/libpcrecpp.solibpcre.so.1 (libc6,x86-64) => /lib64/libpcre.so.1libpcre.so (libc6,x86-64) => /lib64/libpcre.sosudo rpm -Uvh http://nginx.org/packages/rhel/6/x86_64/RPMS/nginx-1.10.3-1.el6.ngx.x86_64.rpmand I still get the same error.I do not understand why the ldconfig command is not showing my symlink.How can I fix the nginx dependency?
Installing nginx on redhat - error missing libpcre.so.0
rhel;software installation;nginx
If you're running RHEL/CentOS 7, you'll probably want the 7 packages at http://nginx.org/packages/rhel/7/x86_64/RPMS/, not the ones for RHEL 6.