LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-03-2017, 03:00 PM   #1
Bashed
Member
 
Registered: Jul 2015
Posts: 109

Rep: Reputation: Disabled
HTTP/2 on cPanel/WHM with EA4


Trying to install, or enable http/2 on WHM but getting stuck. Using below tutorial.

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
Stuck on this line:
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 'SSL_get_error@@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 'SSL_CTX_free@@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)
 
Old 01-05-2017, 11:22 AM   #2
Bashed
Member
 
Registered: Jul 2015
Posts: 109

Original Poster
Rep: Reputation: Disabled
Anyone?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't login in whm/cpanel just only me conflicker Linux - Newbie 9 06-02-2013 03:20 PM
cpanel/whm. M.Iftikhar Alam Linux - Newbie 1 12-03-2010 06:30 PM
Cpanel/WHM Died at /usr/local/cpanel/Cpanel/Hulk.pm line 92. liang3391 Linux - Software 1 06-22-2009 03:02 PM
free alternatives to whm/cpanel steve51184 Linux - Server 2 03-24-2008 02:18 PM
hsphere to whm/cpanel transfer tv1 Linux - Server 1 09-15-2007 11:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration