RWH Tech

Well-Known Member
Oct 1, 2015
86
16
8
Brazil
cPanel Access Level
Root Administrator
Tested on a clean and dirty CentOS 7 install and running production on a small server for a few weeks now (~20 sites).

Will probably give you cancer.
If you want symlink protection, you’ll need to edit SPECS/ea-apache24.spec, search for 401 or 402 and uncomment TWICE in it, depending on what you want to use.
The rack911 patch does not require apr to be modified from stock, so you can skip it.

Code:
mkdir /root/rpmbuild
cd /root/rpmbuild
yum -y install rpm-build
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo ‘%_topdir %(echo $HOME)/rpmbuild’ > ~/.rpmmacros
mkdir poop
git clone https://github.com/Cacasapo/ea-apache2-http2.git poop
mv poop/SOURCES/find.pl /usr/lib64/perl5
mv poop/SOURCES/042_mod_http2.conf /etc/apache2/conf.modules.d
\cp -R poop/SPECS/* SPECS/
\cp -R poop/SOURCES/* SOURCES/
rm -fr poop

#skip if not using Bluehost
git clone https://github.com/Cacasapo/apr.git poop1
\cp -R poop1/SPECS/* SPECS/
\cp -R poop1/SOURCES/* SOURCES/
rm -fr poop1

#openssl depend
yum -y install perl-WWW-Curl
#apr depend
yum -y install lksctp-tools-devel
#apache depend
yum -y install xmlto lua-devel ea-apr-devel ea-apr-util-devel

yum -y install createrepo
mkdir /root/repo

nano /etc/yum.repos.d/local.repo
[local]
name=CentOS-$releasever - local packages
baseurl=file:///root/repo
enabled=1
gpgcheck=0
protect=1
cost=20
priority=1

#OpenSSL
rpmbuild -ba SPECS/openssl.spec
\cp RPMS/x86_64/openssl-parallel* ../repo
createrepo /root/repo
yum clean expire-cache
yum -y install openssl-parallel

#Do nghttp2
rpmbuild -ba SPECS/nghttp2.spec
\cp RPMS/x86_64/libng* ../repo
\cp RPMS/x86_64/nghttp* ../repo
createrepo /root/repo
yum clean expire-cache
yum -y install libnghttp2-devel

#Do apr IF USING BLUEHOST PATCH
rpmbuild -ba SPECS/ea-apr.spec
\cp RPMS/x86_64/ea-apr* ../repo
createrepo /root/repo
yum clean expire-cache
yum -y install ea-apr ea-apr-devel

#Do apache
rpmbuild -ba SPECS/ea-apache24.spec
\cp RPMS/x86_64/ea-apache24* ../repo
createrepo /root/repo
yum clean expire-cache
yum -y install ea-apache24

#Suhosin spec is in there. You know what needs done, by now.
# Remember to create the ini in the php 56 config dir.
 
Last edited:

RWH Tech

Well-Known Member
Oct 1, 2015
86
16
8
Brazil
cPanel Access Level
Root Administrator
HEADS UP.

If you use mod_http2 with Magento 2.x or WHMCS with RCM, you will need to insert H2StreamMaxMemSize 512000 into to your /etc/apache2/conf.modules.d/042_mod_http2.conf

Magento 2.x's issue was fixed by 128000, but WHMCS's Resellerclubmod promo page hung, so I increased it to 256, then 512.

If you do not do this, you will not be able to reliably access the "Payment Processor" page and the Magento's backend will hang at random places, as will some of WHMCS's Resellerclubmods pages.

I'm certain other apps are affected by this. I have not seen any adverse effects due to this increased buffer.
 
  • Like
Reactions: MaxFein and eva2000

RWH Tech

Well-Known Member
Oct 1, 2015
86
16
8
Brazil
cPanel Access Level
Root Administrator
Git updated to catch up with cpanel. Cpanel's symlink patch included and enabled by default. Rack911 patch still available. nghttp2 updated.

Max: Cpanel would need to do is provide the parallel install of OpenSSL on their repo and push out their apache already compiled for http2, but I reckon they don't want to deal with the hassle.
 
  • Like
Reactions: MaxFein

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

There's a feature request for HTTP2 support at:

EasyApache 4 HTTP2 Support

I encourage everyone that would like to see support for this offered with EA4 to vote and add feedback to the request.

Thanks!
 
  • Like
Reactions: RWH Tech

Bashed

Well-Known Member
Dec 18, 2013
146
4
68
cPanel Access Level
Root Administrator
Getting an error

Code:
[[email protected] rpmbuild]# echo ‘%_topdir %(echo $HOME)/rpmbuild’ > ~/.rpmmacros
-bash: syntax error near unexpected token `('
Would appreciate help on this
 
Last edited by a moderator:

RWH Tech

Well-Known Member
Oct 1, 2015
86
16
8
Brazil
cPanel Access Level
Root Administrator
UPDATED: 12/22/16 – Cpanel now provides Bluehost patch and it’s active by default, but you need to enable it. See Symlink Race Condition Protection - EasyApache 4 - cPanel Documentation
Rack911 protection still can be enabled by editing ea-apache2. DO NOT ENABLE BOTH.

Code:
#Prep work
mkdir /root/rpmbuild
cd /root/rpmbuild
yum -y install rpm-build
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo ‘%_topdir %(echo $HOME)/rpmbuild’ > ~/.rpmmacros

#openssl depend
yum -y install perl-WWW-Curl
#apr depend
yum -y install lksctp-tools-devel
#apache depend
yum -y install xmlto lua-devel ea-apr-devel ea-apr-util-devel

yum -y install createrepo
mkdir /root/repo

nano /etc/yum.repos.d/local.repo
[local]
name=CentOS-$releasever – local packages
baseurl=file:///root/repo
enabled=1
gpgcheck=0
protect=1
cost=20
priority=1

#Grab crap
cd /root/rpmbuild
mkdir poop
git clone https://github.com/Cacasapo/ea-apache2-http2.git poop
mv -n poop/SOURCES/find.pl /usr/lib64/perl5
\cp -R poop/SPECS/* SPECS/
\cp -R poop/SOURCES/* SOURCES/
rm -fr poop

#OpenSSL
rpmbuild -ba SPECS/openssl.spec
\cp RPMS/x86_64/openssl-parallel* ../repo
createrepo /root/repo
yum clean expire-cache
yum -y install openssl-parallel

#Do nghttp2
rpmbuild -ba SPECS/nghttp2.spec
\cp RPMS/x86_64/libng* ../repo
\cp RPMS/x86_64/nghttp* ../repo
createrepo /root/repo
yum clean expire-cache
yum -y install libnghttp2-devel

#Do apache
rpmbuild -ba SPECS/ea-apache24.spec
\cp RPMS/x86_64/ea-apache24* ../repo
createrepo /root/repo
yum clean expire-cache
yum -y install ea-apache24
 

Bashed

Well-Known Member
Dec 18, 2013
146
4
68
cPanel Access Level
Root Administrator
Ok I figured out the mistake on the previous command.

Now having an issue here

rpmbuild -ba SPECS/nghttp2.spec
Code:
/usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [libevent-client] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/client client.o -pthread  ../lib/.libs/libnghttp2.so ../third-party/.libs/libhttp-parser.a -levent_openssl -levent -L/opt/ssl/lib -ldl -pthread
/usr/bin/ld: client.o: undefined reference to symbol '[email protected]@libssl.so.10'
/usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [client] Error 1
libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/libevent-server libevent-server.o -pthread  ../lib/.libs/libnghttp2.so ../third-party/.libs/libhttp-parser.a -levent_openssl -levent -L/opt/ssl/lib -ldl -pthread
/usr/bin/ld: libevent-server.o: undefined reference to symbol '[email protected]@libssl.so.10'
/usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [libevent-server] Error 1
libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/tiny-nghttpd tiny-nghttpd.o -pthread  ../lib/.libs/libnghttp2.so ../third-party/.libs/libhttp-parser.a -levent_openssl -levent -L/opt/ssl/lib -ldl -pthread
make[2]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.TZCKCT (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.TZCKCT (%build)
 

Spork Schivago

Well-Known Member
Jan 21, 2016
597
64
28
corning, ny
cPanel Access Level
Root Administrator
Ok I figured out the mistake on the previous command.

Now having an issue here



Code:
/usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [libevent-client] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/client client.o -pthread  ../lib/.libs/libnghttp2.so ../third-party/.libs/libhttp-parser.a -levent_openssl -levent -L/opt/ssl/lib -ldl -pthread
/usr/bin/ld: client.o: undefined reference to symbol '[email protected]@libssl.so.10'
/usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [client] Error 1
libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/libevent-server libevent-server.o -pthread  ../lib/.libs/libnghttp2.so ../third-party/.libs/libhttp-parser.a -levent_openssl -levent -L/opt/ssl/lib -ldl -pthread
/usr/bin/ld: libevent-server.o: undefined reference to symbol '[email protected]@libssl.so.10'
/usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [libevent-server] Error 1
libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/tiny-nghttpd tiny-nghttpd.o -pthread  ../lib/.libs/libnghttp2.so ../third-party/.libs/libhttp-parser.a -levent_openssl -levent -L/opt/ssl/lib -ldl -pthread
make[2]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.TZCKCT (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.TZCKCT (%build)
Can you post more of the output? I'd like to see the whole output, just not a snippet, mainly the stuff before:
Code:
/usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
if there is stuff before that.

The DSO missing from the command line could indicate a linking order problem (ie, libraries are included in the wrong order) but I don't think this is the likely cause of your problem. I was thinking maybe there was an undefined reference to some symbol or something.


SSL_get_error was first introduced in SSLeay back in version 0.8. OpenSSL is a fork of SSLeay, I believe, so OpenSSL should contain SSL_get_error I'd think. Maybe somehow OpenSSL isn't getting passed as a library? I'm just taking a guess here and trying to help. I might be really wrong in all of this.

Thanks.
 

Bashed

Well-Known Member
Dec 18, 2013
146
4
68
cPanel Access Level
Root Administrator
Here you go...

Code:
configure: summary of build options:

    Package version: 1.17.0
    Library version: 26:2:12
    Install prefix:  /usr
    System types:
      Build:         x86_64-redhat-linux-gnu
      Host:          x86_64-redhat-linux-gnu
      Target:        x86_64-redhat-linux-gnu
    Compiler:
      C compiler:     gcc
      CFLAGS:         -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic
      LDFLAGS:        -Wl,-z,relro
      C++ compiler:   g++
      CXXFLAGS:       -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic
      CXXCPP:         g++ -E
      C preprocessor: gcc -E
      CPPFLAGS:       
      WARNCFLAGS:     
      WARNCXXFLAGS:   
      CXX1XCXXFLAGS:   -std=c++11
      EXTRACFLAG:     -fvisibility=hidden
      LIBS:           
    Library:
      Shared:         yes
      Static:         yes
    Python:
      Python:         /usr/bin/python
      PYTHON_VERSION: 2.7
      pyexecdir:      ${exec_prefix}/lib64/python2.7/site-packages
      Python-dev:     yes
      PYTHON_CPPFLAGS:-I/usr/include/python2.7
      PYTHON_LDFLAGS: -L/usr/lib64 -lpython2.7
      Cython:         
    Test:
      CUnit:          no (CFLAGS='' LIBS='')
      Failmalloc:     yes
    Libs:
      OpenSSL:        yes (CFLAGS='-I/opt/ssl/include' LIBS='-L/opt/ssl/lib')
      Libxml2:        yes (CFLAGS='-I/usr/include/libxml2' LIBS='-lxml2 -lz -lm -ldl')
      Libev:          no (CFLAGS='' LIBS='')
      Libevent(SSL):  yes (CFLAGS=' ' LIBS='-levent_openssl -levent  ')
      Spdylay:        no (CFLAGS='' LIBS='')
      Jansson:        no (CFLAGS='' LIBS='')
      Jemalloc:       no (LIBS='')
      Zlib:           yes (CFLAGS=' ' LIBS='-lz  ')
      Boost CPPFLAGS:
      Boost LDFLAGS: 
      Boost::ASIO:   
      Boost::System: 
      Boost::Thread: 
    Third-party:
      http-parser:    yes
      MRuby:          no (CFLAGS='' LIBS='')
      Neverbleed:     no
    Features:
      Applications:   no
      HPACK tools:    no
      Libnghttp2_asio:no
      Examples:       yes
      Python bindings:no
      Threading:      yes

+ sed -i libtool -e 's/^runpath_var=.*/runpath_var=/' -e 's/^hardcode_libdir_flag_spec=".*"$/hardcode_libdir_flag_spec=""/'
+ make -j8 V=1
make  all-recursive
make[1]: Entering directory `/root/rpmbuild/BUILD/nghttp2-1.17.0'
Making all in lib
make[2]: Entering directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/lib'
Making all in includes
make[3]: Entering directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/lib/includes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/lib/includes'
make[3]: Entering directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/lib'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_pq.lo nghttp2_pq.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_map.lo nghttp2_map.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_queue.lo nghttp2_queue.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_frame.lo nghttp2_frame.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_buf.lo nghttp2_buf.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_stream.lo nghttp2_stream.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_outbound_item.lo nghttp2_outbound_item.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_session.lo nghttp2_session.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_stream.c  -fPIC -DPIC -o .libs/nghttp2_stream.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_queue.c  -fPIC -DPIC -o .libs/nghttp2_queue.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_frame.c  -fPIC -DPIC -o .libs/nghttp2_frame.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_map.c  -fPIC -DPIC -o .libs/nghttp2_map.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_pq.c  -fPIC -DPIC -o .libs/nghttp2_pq.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_buf.c  -fPIC -DPIC -o .libs/nghttp2_buf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_outbound_item.c  -fPIC -DPIC -o .libs/nghttp2_outbound_item.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_session.c  -fPIC -DPIC -o .libs/nghttp2_session.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_queue.c -o nghttp2_queue.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_outbound_item.c -o nghttp2_outbound_item.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_map.c -o nghttp2_map.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_pq.c -o nghttp2_pq.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_submit.lo nghttp2_submit.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_helper.lo nghttp2_helper.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_buf.c -o nghttp2_buf.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_npn.lo nghttp2_npn.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_submit.c  -fPIC -DPIC -o .libs/nghttp2_submit.o
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_hd.lo nghttp2_hd.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_helper.c  -fPIC -DPIC -o .libs/nghttp2_helper.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_stream.c -o nghttp2_stream.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_npn.c  -fPIC -DPIC -o .libs/nghttp2_npn.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_hd.c  -fPIC -DPIC -o .libs/nghttp2_hd.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_frame.c -o nghttp2_frame.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_helper.c -o nghttp2_helper.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_npn.c -o nghttp2_npn.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_hd_huffman.lo nghttp2_hd_huffman.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_submit.c -o nghttp2_submit.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_hd_huffman_data.lo nghttp2_hd_huffman_data.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_version.lo nghttp2_version.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_hd_huffman.c  -fPIC -DPIC -o .libs/nghttp2_hd_huffman.o
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_priority_spec.lo nghttp2_priority_spec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_hd_huffman_data.c  -fPIC -DPIC -o .libs/nghttp2_hd_huffman_data.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_version.c  -fPIC -DPIC -o .libs/nghttp2_version.o
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_option.lo nghttp2_option.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_priority_spec.c  -fPIC -DPIC -o .libs/nghttp2_priority_spec.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_hd_huffman.c -o nghttp2_hd_huffman.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_version.c -o nghttp2_version.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_hd_huffman_data.c -o nghttp2_hd_huffman_data.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_priority_spec.c -o nghttp2_priority_spec.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_callbacks.lo nghttp2_callbacks.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_mem.lo nghttp2_mem.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_http.lo nghttp2_http.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_option.c  -fPIC -DPIC -o .libs/nghttp2_option.o
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_rcbuf.lo nghttp2_rcbuf.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H   -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o nghttp2_debug.lo nghttp2_debug.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_option.c -o nghttp2_option.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_mem.c  -fPIC -DPIC -o .libs/nghttp2_mem.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_callbacks.c  -fPIC -DPIC -o .libs/nghttp2_callbacks.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_http.c  -fPIC -DPIC -o .libs/nghttp2_http.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_rcbuf.c  -fPIC -DPIC -o .libs/nghttp2_rcbuf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_mem.c -o nghttp2_mem.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_callbacks.c -o nghttp2_callbacks.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_debug.c  -fPIC -DPIC -o .libs/nghttp2_debug.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_rcbuf.c -o nghttp2_rcbuf.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_debug.c -o nghttp2_debug.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_hd.c -o nghttp2_hd.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_http.c -o nghttp2_http.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -DBUILDING_NGHTTP2 -DHAVE_CONFIG_H -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c nghttp2_session.c -o nghttp2_session.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -no-undefined -version-info 26:2:12 -Wl,-z,relro  -o libnghttp2.la -rpath /usr/lib64  nghttp2_pq.lo nghttp2_map.lo nghttp2_queue.lo nghttp2_frame.lo nghttp2_buf.lo nghttp2_stream.lo nghttp2_outbound_item.lo nghttp2_session.lo nghttp2_submit.lo nghttp2_helper.lo nghttp2_npn.lo nghttp2_hd.lo nghttp2_hd_huffman.lo nghttp2_hd_huffman_data.lo nghttp2_version.lo nghttp2_priority_spec.lo nghttp2_option.lo nghttp2_callbacks.lo nghttp2_mem.lo nghttp2_http.lo nghttp2_rcbuf.lo nghttp2_debug.lo 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/nghttp2_pq.o .libs/nghttp2_map.o .libs/nghttp2_queue.o .libs/nghttp2_frame.o .libs/nghttp2_buf.o .libs/nghttp2_stream.o .libs/nghttp2_outbound_item.o .libs/nghttp2_session.o .libs/nghttp2_submit.o .libs/nghttp2_helper.o .libs/nghttp2_npn.o .libs/nghttp2_hd.o .libs/nghttp2_hd_huffman.o .libs/nghttp2_hd_huffman_data.o .libs/nghttp2_version.o .libs/nghttp2_priority_spec.o .libs/nghttp2_option.o .libs/nghttp2_callbacks.o .libs/nghttp2_mem.o .libs/nghttp2_http.o .libs/nghttp2_rcbuf.o .libs/nghttp2_debug.o    -O2 -g -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro   -Wl,-soname -Wl,libnghttp2.so.14 -o .libs/libnghttp2.so.14.12.2
libtool: link: (cd ".libs" && rm -f "libnghttp2.so.14" && ln -s "libnghttp2.so.14.12.2" "libnghttp2.so.14")
libtool: link: (cd ".libs" && rm -f "libnghttp2.so" && ln -s "libnghttp2.so.14.12.2" "libnghttp2.so")
libtool: link: ar cru .libs/libnghttp2.a  nghttp2_pq.o nghttp2_map.o nghttp2_queue.o nghttp2_frame.o nghttp2_buf.o nghttp2_stream.o nghttp2_outbound_item.o nghttp2_session.o nghttp2_submit.o nghttp2_helper.o nghttp2_npn.o nghttp2_hd.o nghttp2_hd_huffman.o nghttp2_hd_huffman_data.o nghttp2_version.o nghttp2_priority_spec.o nghttp2_option.o nghttp2_callbacks.o nghttp2_mem.o nghttp2_http.o nghttp2_rcbuf.o nghttp2_debug.o
libtool: link: ranlib .libs/libnghttp2.a
libtool: link: ( cd ".libs" && rm -f "libnghttp2.la" && ln -s "../libnghttp2.la" "libnghttp2.la" )
make[3]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/lib'
make[2]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/lib'
Making all in third-party
make[2]: Entering directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/third-party'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DHAVE_CONFIG_H   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o http-parser/http_parser.lo http-parser/http_parser.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c http-parser/http_parser.c  -fPIC -DPIC -o http-parser/.libs/http_parser.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c http-parser/http_parser.c -o http-parser/http_parser.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -Wl,-z,relro  -o libhttp-parser.la  http-parser/http_parser.lo 
libtool: link: ar cru .libs/libhttp-parser.a http-parser/.libs/http_parser.o
libtool: link: ranlib .libs/libhttp-parser.a
libtool: link: ( cd ".libs" && rm -f "libhttp-parser.la" && ln -s "../libhttp-parser.la" "libhttp-parser.la" )
make[2]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/third-party'
Making all in src
make[2]: Entering directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/src'
Making all in includes
make[3]: Entering directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/src/includes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/src/includes'
make[3]: Entering directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/src'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/src'
make[2]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/src'
Making all in examples
make[2]: Entering directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/examples'
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib/includes -I../lib/includes -I../src/includes -I../third-party -I/opt/ssl/include -DHAVE_CONFIG_H   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o client.o client.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib/includes -I../lib/includes -I../src/includes -I../third-party -I/opt/ssl/include -DHAVE_CONFIG_H   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o libevent-client.o libevent-client.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib/includes -I../lib/includes -I../src/includes -I../third-party -I/opt/ssl/include -DHAVE_CONFIG_H   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o libevent-server.o libevent-server.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib/includes -I../lib/includes -I../src/includes -I../third-party -I/opt/ssl/include -DHAVE_CONFIG_H   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o deflate.o deflate.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib/includes -I../lib/includes -I../src/includes -I../third-party -I/opt/ssl/include -DHAVE_CONFIG_H   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -c -o tiny-nghttpd.o tiny-nghttpd.c
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -Wl,-z,relro  -o deflate deflate.o ../lib/libnghttp2.la ../third-party/libhttp-parser.la -levent_openssl -levent -L/opt/ssl/lib -ldl  -pthread
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -Wl,-z,relro  -o libevent-client libevent-client.o ../lib/libnghttp2.la ../third-party/libhttp-parser.la -levent_openssl -levent -L/opt/ssl/lib -ldl  -pthread
libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/deflate deflate.o -pthread  ../lib/.libs/libnghttp2.so ../third-party/.libs/libhttp-parser.a -levent_openssl -levent -L/opt/ssl/lib -ldl -pthread
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -Wl,-z,relro  -o client client.o ../lib/libnghttp2.la ../third-party/libhttp-parser.la -levent_openssl -levent -L/opt/ssl/lib -ldl  -pthread
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -Wl,-z,relro  -o libevent-server libevent-server.o ../lib/libnghttp2.la ../third-party/libhttp-parser.la -levent_openssl -levent -L/opt/ssl/lib -ldl  -pthread
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -Wl,-z,relro  -o tiny-nghttpd tiny-nghttpd.o ../lib/libnghttp2.la ../third-party/libhttp-parser.la -levent_openssl -levent -L/opt/ssl/lib -ldl  -pthread
libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/libevent-client libevent-client.o -pthread  ../lib/.libs/libnghttp2.so ../third-party/.libs/libhttp-parser.a -levent_openssl -levent -L/opt/ssl/lib -ldl -pthread
/usr/bin/ld: libevent-client.o: undefined reference to symbol '[email protected]@libssl.so.10'
/usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [libevent-client] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/client client.o -pthread  ../lib/.libs/libnghttp2.so ../third-party/.libs/libhttp-parser.a -levent_openssl -levent -L/opt/ssl/lib -ldl -pthread
/usr/bin/ld: client.o: undefined reference to symbol '[email protected]@libssl.so.10'
/usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [client] Error 1
libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/libevent-server libevent-server.o -pthread  ../lib/.libs/libnghttp2.so ../third-party/.libs/libhttp-parser.a -levent_openssl -levent -L/opt/ssl/lib -ldl -pthread
/usr/bin/ld: libevent-server.o: undefined reference to symbol '[email protected]@libssl.so.10'
/usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [libevent-server] Error 1
libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/tiny-nghttpd tiny-nghttpd.o -pthread  ../lib/.libs/libnghttp2.so ../third-party/.libs/libhttp-parser.a -levent_openssl -levent -L/opt/ssl/lib -ldl -pthread
make[2]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/nghttp2-1.17.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.fzRdHj (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.fzRdHj (%build)
 

Spork Schivago

Well-Known Member
Jan 21, 2016
597
64
28
corning, ny
cPanel Access Level
Root Administrator
So, the error is saying it cannot find the function (or symbol) SSL_CTX_free, SSL_get_error symbol, or SSL_CTX_free in libssl.so.10.

What does your /opt/ssl/lib directory look like? You can just run:
Code:
ls -l /opt/ssl/lib
For some reason, I don't see where libssl is being included. It's been awhile since I played around with stuff like this, but it looks like you have libssl installed in the /usr/lib64/ directory. I would have expected to see stuff like this:
Code:
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -Wl,-z,relro  -o tiny-nghttpd tiny-nghttpd.o ../lib/libnghttp2.la ../third-party/libhttp-parser.la -levent_openssl -levent -L/opt/ssl/lib -ldl  -pthread -lssl
or
Code:
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -Wl,-z,relro  -o tiny-nghttpd tiny-nghttpd.o ../lib/libnghttp2.la ../third-party/libhttp-parser.la -levent_openssl -levent -L/opt/ssl/lib -ldl  -pthread -lssl-parallel
You did run the steps to compile and install "openSSL-parallel" first, right?

These:
Code:
#OpenSSL
rpmbuild -ba SPECS/openssl.spec
\cp RPMS/x86_64/openssl-parallel* ../repo
createrepo /root/repo
yum clean expire-cache
yum -y install openssl-parallel
Maybe you should start over fresh and try again, from the beginning. But carefully look at the output from the various commands, to make sure none of them failed.

Once, when I was working on a toolchain for the PS3, I had trouble with a library failing to build. It took me a while to realize that a previous library didn't compile correctly. I had a script that compiled the various libraries and I guess it wasn't properly exiting. The library was calling a 3rd party program that wasn't installed and the script didn't detect the command not found. It caused all kinds of issues.

I'm wondering if maybe the OpenSSL-parallel thing didn't compile correct for you or maybe you forgot to install it with
Code:
yum -y install openssl-parallel
What do you think?
 

Bashed

Well-Known Member
Dec 18, 2013
146
4
68
cPanel Access Level
Root Administrator
Thanks for your help. Yes I already installed OpenSSL

Code:
[[email protected] ~]# ls -l /opt/ssl/lib
total 7944
drwxr-xr-x 2 root root    4096 Jan  3 10:23 engines
-rwxr-xr-x 1 root root 4468546 Jan  3 10:23 libcrypto.a
lrwxrwxrwx 1 root root      18 Jan  3 10:23 libcrypto.so -> libcrypto.so.1.0.0
-rwxr-xr-x 1 root root 2431248 Jan  3 10:23 libcrypto.so.1.0.0
-rwxr-xr-x 1 root root  760962 Jan  3 10:23 libssl.a
lrwxrwxrwx 1 root root      15 Jan  3 10:23 libssl.so -> libssl.so.1.0.0
-rwxr-xr-x 1 root root  465432 Jan  3 10:23 libssl.so.1.0.0
drwxr-xr-x 2 root root      58 Jan  3 10:23 pkgconfig
Code:
Wrote: /root/rpmbuild/SRPMS/openssl-parallel-1.0.2h-2.src.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/openssl-parallel-1.0.2h-2.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/openssl-parallel-devel-1.0.2h-2.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/openssl-parallel-debuginfo-1.0.2h-2.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MdLAqa
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd openssl-1.0.2h
+ rm -rf /root/rpmbuild/BUILDROOT/openssl-parallel-1.0.2h-2.x86_64
+ exit 0
[[email protected] rpmbuild]# \cp RPMS/x86_64/openssl-parallel* ../repo
[[email protected] rpmbuild]# createrepo /root/repo
Spawning worker 0 with 1 pkgs
Spawning worker 1 with 1 pkgs
Spawning worker 2 with 1 pkgs
Spawning worker 3 with 0 pkgs
Spawning worker 4 with 0 pkgs
Spawning worker 5 with 0 pkgs
Spawning worker 6 with 0 pkgs
Spawning worker 7 with 0 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
[[email protected] rpmbuild]# yum clean expire-cache
Loaded plugins: fastestmirror, universal-hooks
Cleaning repos: local EA4 MariaDB100 base cpanel-plugins extras nginx updates
12 metadata files removed
[[email protected] rpmbuild]# yum -y install openssl-parallel
Loaded plugins: fastestmirror, universal-hooks
local                                                                                                                                                                            | 2.9 kB  00:00:00     
EA4                                                                                                                                                                              | 2.9 kB  00:00:00     
MariaDB100                                                                                                                                                                       | 2.9 kB  00:00:00     
base                                                                                                                                                                             | 3.6 kB  00:00:00     
cpanel-plugins                                                                                                                                                                   | 2.9 kB  00:00:00     
extras                                                                                                                                                                           | 3.4 kB  00:00:00     
nginx                                                                                                                                                                            | 2.9 kB  00:00:00     
updates                                                                                                                                                                          | 3.4 kB  00:00:00     
local/primary_db                                                                                                                                                                 | 3.9 kB  00:00:00     
Loading mirror speeds from cached hostfile
 * EA4: 69.72.212.11
 * base: mirror.umd.edu
 * extras: centos.mia.host-engine.com
 * updates: mirror.umd.edu
Package openssl-parallel-1.0.2h-2.x86_64 already installed and latest version
Nothing to do
 

Spork Schivago

Well-Known Member
Jan 21, 2016
597
64
28
corning, ny
cPanel Access Level
Root Administrator
Hrmm, I'm running out of ideas Bashed.

Does anyone else have any suggestions?

Is there anyway to pass extra libraries to rpmbuild? I'm not familiar with the program, but it seems like there's some issues with OpenSSL. Either it's not using the library at all (which I don't think is the case, because we see messages about libssl) or maybe the order of the libraries aren't correct.

What version of CentOS are you running? I have CentOS 7.3.1611 ( cat /etc/centos-release to find out). If you're running CentOS 7, I can try following the directions on my server just to see if I can get the same error messages. If I can get the same error messages, I'll have a better chance of fixing it, because than I can play around with it and try various things. Right now, it's kind of hard because I have to have you try all the things I think of. I can't really dig around and see what's going on.

I wish I was more help.
 

Spork Schivago

Well-Known Member
Jan 21, 2016
597
64
28
corning, ny
cPanel Access Level
Root Administrator
Thanks.

[[email protected] ~]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
We are running the same version of CentOS.

So I logged into my server and followed the directions. I modified them a little and did everything from the /home/spork/src/ directory. So I have a /home/spork/src/repo directory and a /home/spork/rpmbuild directory.

My /root/.rpmmacros file looks like this:
Code:
%_topdir /home/spork/src/rpmbuild
my /etc/yum.repos.d/local.repo file looks like this:
Code:
[local]
name=CentOS-$releasever - local packages
baseurl=file:///home/spork/src/repo
enabled=1
gpgcheck=0
protect=1
cost=20
priority=1
I follow the steps and get to:
Code:
rpmbuild -ba SPECS/nghttp2.spec
I execute the command and it finishes, without any errors. To me, this says it's something with your system. If you'd like, I can try and create a simple bash script that executes all the various commands, just in case maybe you mistyped something? If that doesn't work, I'm out of ideas. Would you like me to create a simple bash script for you?
 

Spork Schivago

Well-Known Member
Jan 21, 2016
597
64
28
corning, ny
cPanel Access Level
Root Administrator
One thing I'd like to point out is because I'm running cPanel v60, the Bluehost patch is installed, albeit disabled, so I skipped the part that says Skip if not using the Bluehost patch.

Did you skip that part or did you run that part? That might be causing issues. I tried cloning the https://github.com/Cacasapo/apr.git repo but it asks for authentication on my machine for some reason. I type my github username and password but it doesn't allow me to clone, so I cannot tell if that's causing the issues or not.

I've written two scripts. One removes everything up until the nghttp2 stuff. I figured because you didn't get past that step, there was no sense undoing what's done in that step. It will give you a clean slate. It'll remove the /root/.rpmmacros file and the /etc/yum.repos.d/local.repo file as well, so if you have stuff in there you want to keep, you might want to make a backup to restore it once you run the second script.

The second script installs everything. It assumes you've ran the remove script and that you are in fact using the Bluehost symlink patch. If you're not using it, you can comment out and uncomment the two sections that deal with that, but like I said, I couldn't actually clone the repo, so you probably won't be able to either.

I wasn't 100% sure what to do with the Suhosin stuff, so this is what the script does:
Code:
rpmbuild -ba /root/rpmbuild/SPECS/suhosin.spec
cp /root/rpmbuild/RPMS/x86_64/suhosin* /root/repo
createrepo /root/repo
yum clean expire-cache
yum -y install suhosin
I don't want to run nghttp2, so I only verified that my script could build it. I made sure there were no typos and everything worked up to that point in time, but there might be a typo after the rpmbuild -ba /root/rpmbuild/SPECS/nghttp2.spec stuff, I didn't test that.

Sooo, if you use these scripts, you should upload them to some directory on your server, like /home/<username>/src (where <username> is your username (make sure the src directory exists)) and then uncompress the zip file using unzip, then execute the scripts like so:
Code:
cd /home/<username>/src
bash ./remove.sh
bash ./ea-apache-http2.sh
 

Attachments

Last edited: